Hello i have an auto layout issue with UIScrollView
and ModalViewController
.
Here are my coding steps as sample code:
1) I have an UIView
I think this might be a bug in iOS autolayout wrt UIScrollViews. I was having a similar problem only in my case, I would push to a detail view, then pop back to the master view which is a UIScrollView. Content in the scroll view would be shifted up. Scrolling the scroll view to the top, then pushing and popping again and things would be properly reset.
I even tried plain out of the box master detail app using a UIScrollView instead of a table view as master, and was able to demonstrate the defect.
Table views and Collection views do not seem to have this problem.