Container View getting pushed down as if it had a UINavigationBar?

前端 未结 8 955
既然无缘
既然无缘 2020-12-08 06:13

I have a UIViewController with a Container View. This Container View contains a UITableViewController.

The UIViewController is embedded in a UINavigationController.

相关标签:
8条回答
  • 2020-12-08 07:15

    This is purely because of your auto layout issues, may be u are hiding some views on the starting, just show all the views and check whether the space is still there

    0 讨论(0)
  • 2020-12-08 07:18

    setting the tableView.opaque = false worked for me

    0 讨论(0)
提交回复
热议问题