Since the new update to IOS8, i have an extra white space over my contentview in my scrollview. My content view should be centered in my scrollview and it's work fine on IOS7.
Here is the result :
Here is the storyboard version which doesn't have white space :
I'm wondering what could cause this extra space, is there anything new in ios8 that will cause my content view to have extra space ?
Maybe i need to change how i layout my view ?
Thanks!
EDIT: My solution was to only uncheck adjust scroll bar inset in my views which had the problem. However the solution below that i accepted works too.
I had this exact same problem, and I came up with two possible solutions, both of which are awful and make me ashamed to be a programmer:
-64
, which is the height of the extra space. I don't know why.UIImageView
as a sibling of the UIScrollView
, and constrain it to be flush with all four sides of the root view.I'm hoping that it's just an iOS 8 bug so that I can take out my hack and step down off the ledge.