AHSAppDevTeam / Arcadia-High-Mobile-iOS

Official Github Repository for the iOS AHS Mobile App
MIT License
3 stars 1 forks source link

Rendering constraint issues causing crashes #14

Closed richardwei6 closed 3 years ago

richardwei6 commented 3 years ago

https://github.com/AHSAppDevTeam/Arcadia-High-Mobile-iOS/blob/master/AHS/AHS/UI/homePage/contentViewControllers/newsPage/newsPage_categories.swift#L83

Crash is caused by usage of UIView() being constrained to another view that does not have the same parent.

Solution is to either make the default UIView part of the same parent to come up with a different default view.