0

Is there a way to set EdgesForExtendedLayout:UIRectEdgeAll and Nav Bar translucent:NO at the same time.

Right now, when I set EdgesForExtendedLayout:UIRectEdgeAll for my view controller and my navigationBar.translucent = NO, the view starts after the navigation bar. I need a way to start my view from (0,0) and also to set the translucent property to NO.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Burhanuddin Sunelwala
  • 5,318
  • 3
  • 25
  • 51

2 Answers2

0
self.extendedLayoutIncludesOpaqueBars = YES
Uladzimir
  • 3,067
  • 36
  • 30
0

Try setting EdgesForExtendedLayout to "UIRectEdgeNone".

arango_86
  • 4,236
  • 4
  • 40
  • 46