I have a UIScrollVIew in a Navigation controller, I present a Modal View controller from the Navigation controller, which works fine. When I dismiss the modal view controller (from the parent), all the content in my UIScroll view gets moved around and paging is broken. The contents of the scroll view are added programmatically, but the scrollView was created in IB.
相关问题
- how do you prevent page scroll in textarea on mobi
- How do I layout forms in MaterialUI?
- How to change the backgroundColor for all UITableV
- The bundle identifier cannot be changed from the c
- execute method when iPhone enters landscape mode
相关文章
- UITableView dragging distance with UIRefreshContro
- How do you detect key up / key down events from a
- Centering a WPF control
- Can I release an app without the device?
- make scroll bar take no space
- Universal iPad App rejected because of launch cras
- What does the “Use for Development” button in Xcod
- In Qt, how do I align form elements in different g
Sounds like it has to do with autoresizing behavior as well as the autoresizing masks. In IB, turn off "Autoresize Subviews" in relation to the ScrollView.
Also check its autoresizing mask: does it make sense? Play with its mask and trouble shoot from there. When you create views programmatically, the default autoresize mask may have unexpected behavior.