Vote count:
0
I have read multiple questions of people with similar problems, but no suggestion seems to work so far unfortunately:
i. Setup: UIViewController with UIScrollView -> 3 UINavigationControllers as children all with a root ViewController.
ii. Initially I can scroll between the three children their views perfectly. When I present a new VC or NC no problems either. However, the moment I perform a push/pop using one of the children NC, the ScrollView becomes unresponsive to dragging. When I click to go to one of the children it still animates a scroll to change the content offset however.
iii. I manually keep setting:
_scrollView.scrollEnabled = YES;
_scrollView.canCancelTouches = NO;
I also keep printing out the scrollView's contentsize and see that the contentsize does not change and everything thus seems in order. I am also NOT working with autoLayout
Any suggestions?
UIScrollView unresponsive after push/pop ViewController
Aucun commentaire:
Enregistrer un commentaire