0

I am using a Tab Bar Controller with 4 navigation controllers further attached to it,Before starting the project I made a demo and it was working fine. Now the problem is,

1.First cell of tableview is underlapping navigation bar and the navigation bar image is stretched.

2.After I pull the tableview down it comes to normal position but the image issue still persists.

3.The constraints are properly set so no issues there.

what I can do to fix the issue and Explain me in details of the issues?

Krunal Nagvadia
  • 1,083
  • 2
  • 12
  • 33
Harsh
  • 73
  • 2
  • 9

2 Answers2

0

If you embed the ViewController the with Navigation Controller then you may face such issues. And if you want to hide the navigation Bar you can implement the following code in viewDidLoad().

self.navigationController?.setNavigationBarHidden(true, animated: false)

Please provide screenshot for better understanding.Thanks

Krunal Nagvadia
  • 1,083
  • 2
  • 12
  • 33
0

For your first issue try Unchecking

Adjust Scroll View Insets

enter image description here

Darshan Karekar
  • 681
  • 3
  • 16