filou
filou

Reputation: 1619

iOS 7: UINavigationController pulls down UIScrollview

I have a full screen UIScrollView, in which I place my UIImageView (subview). But when I connect this Controller with my UINavigationController, the image in it gets pulled down (the same height as the bar).

Tried the following:

self.edgesForExtendedLayout = UIRectEdgeNone;

Also tried to reset frame position or offset. Nothing helps.

Upvotes: 1

Views: 93

Answers (1)

Avt
Avt

Reputation: 17043

I think you need

self.automaticallyAdjustsScrollViewInsets = NO;

Upvotes: 5

Related Questions