Open rastersize opened 11 years ago
I know, i knew your'd see it. The my profile view is @makxan view.
It seems like there is a problem with the constraints that belongs to the UIWebview. At the moment I don't know why the error shows up the second time and not the first time when clicking on "My Profile", but we can look at the problem tomorrow.
The same problem appears when viewing a question a second time.
That’s in the OPFQuestionHeaderView. A possible fix could be to disable automatic translation of auto resizing masks with (e.i. theView.translatesAutoresizingMaskIntoConstraints = NO). Might introduce other issues though if there are views which do not have any auto layout constraints.
On May 1, 2013, at 16:50, Marcus Johansson notifications@github.com wrote:
The same problem appears when viewing a question a second time.
Steps to reproduce
Go to a question in the Questions-view Click on another tab Click on the Questions-tab again Crash. — Reply to this email directly or view it on GitHub.
This issue isn’t resolved as far as I know? Still occurs in master for me (exact same steps to reproduce as previously). @makxan
Well, on my computer no crash or error message was produced so that's why I thought it had been resolved :/
One way to solve this issue, as it seems to be caused by AKTabBarController
being incompatible with auto layout, is to make AKTabBarController
behave when used with auto layout. Another way would be to change all our views to use springs and struts instead.
Right now I feel that we shouldn't change so much in the app since we will present it on thursday. The app is still working when the crash occurs and as long as we don't show them the console when we run the app we should be fine :)
The app
crasheshalts at a debug exception the second time the “My Profile” tab is shown.Steps to reproduce
The crash
The crash occurs in the
-[AKTabBarView setContentView:]
method on line 47 due to some contradicting auto layout constraints in the OPFUserProfileViewController.Possible fixes
AKTabBarController
which is incompatible with auto layout and in such case fixAKTabBarController
./cc @tdeekens