I have a View Controller that creates its view programatically through the loadView method. The purpose of the view is to display a data models contents. When the v
loadView
Add following code its work for me for same issue, may be its help you
/* ios 7 Change */ if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) { self.edgesForExtendedLayout = UIRectEdgeNone; self.automaticallyAdjustsScrollViewInsets = NO; }