uiviewcontroller - iOS 7 full-screen layout -


it known in ios 7 view controllers have full-screen layout default , wantsfullscreenlayout deprecetated, not want full-screen layout because causes problems when compiling old apps xcode 5, have tried below.

- (void)viewdidload {     [super viewdidload];      self.wantsfullscreenlayout = no;     self.edgesforextendedlayout = uirectedgenone;  } 

this not seem working. , getting full-screen layouts. using xcode developer preview beta 6. solutions?

regards,

can

try set edgesforextendedlayout uiextendededgenone

as explained here porting view controllers ios 6->7


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -