Not sure how to explain this, simply when seguing from one controller the scroll view is lower on the screen than from another segue where it is correct.
Asked
Active
Viewed 44 times
0
-
can you have a demo of this??? So I'll check this out – Bhavin Bhadani May 28 '16 at 07:38
2 Answers
1
Set this 2 scrollview property and check it.
self.scrollView.contentOffset = CGPointZero;
self.scrollView.contentInset = UIEdgeInsetsZero;
Check this answer it may help you UIScrollView adjusts contentOffset when contentSize changes

Community
- 1
- 1

iDeveloper
- 607
- 5
- 25
0
Select your view controller which has lower scroll view and unselect Adjust Scroll View Insets
See below image:
or you can do it programmatically
self.scrollView.contentOffset = CGPointZero;
self.scrollView.contentInset = UIEdgeInsetsZero;

Bhavin Ramani
- 3,221
- 5
- 30
- 41