我希望我的状态栏被绘制在 UITableView 的第一节标题上,就像在 picture 中一样. (假设粉红色的上部码头是第一节标题 View )
我正在为 iOS 6.0+ 开发应用程序。
相应的 UITableViewController 是我的导航层次结构中的根 VC。如何实现?
最佳答案
在 Interface Builder 中选择 View Controller ,并取消选中“Extend Edges: Under Top Bars”复选框
关于iOS 6+ : UITableViewController embedded into Navigation Controller shows table's first section header under status bar when Navigation Bar is hidden,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29236669/