1

I have a Table View, Navigation Bar and Left Bar Button as following image: enter image description here

When I run the application, the Navigation Bar goes under Status Bar as following image:

enter image description here

Is there's any fix for this?

I am coding using swift 2.0 and Xcode 7.3.1

CairoCoder
  • 3,091
  • 11
  • 46
  • 68

4 Answers4

1

If you want to use navigation controller and tab bar controller together you should embed tab bar in a navigation controller.

Please see below stack post:

Using tabbar and navigation bar together

Community
  • 1
  • 1
Husein Behboudi Rad
  • 5,434
  • 11
  • 57
  • 115
0

it is better to add navigation bar to your table view.. You can set it via going in embed in - navigation controller

0

Adjust the nav bar according to safe area. It worked for me.

Talha Ahmad Khan
  • 3,416
  • 5
  • 23
  • 38
0

Try by adding following line in viewDidLoad

self.navigationController?.navigationBar.isTranslucent = false
miOS
  • 1,379
  • 13
  • 20