2

enter image description here

This view is Present from mainviewcontroller then i set large title on this view then then i change color of navigation bar but color is not change in outside of safe area in navigation bar.

so, how can i change color in whole navigation bar in iPhone X. Thanks.

ikbal
  • 1,114
  • 1
  • 11
  • 30
  • 1
    Is the view controller constructed from a storyboard? Please show how you have set up the constraints. – LGP Feb 07 '18 at 18:13
  • No its from xib and i do present with navigation controller, then safeArea navigation background color is properly changed upside area color is not change like above image. – ikbal Feb 08 '18 at 05:40
  • If you use a navigation controller to present, it will extend the view up to top for you. Otherwise you need to extend up to top yourself. Is your xib extending to top or to safe area? – LGP Feb 08 '18 at 05:53

0 Answers0