ios - UISplitViewController 是如何工作的?

标签 ios objective-c swift

抱歉,如果之前已经发布过此内容,我浏览了 Apple Docs 等,但找不到有关 UISplitViewController 工作原理的良好解释。
我问这个问题是因为我为 UINavigationBar 启用了某些自定义功能,这些自定义功能仅在我将 ViewController 推送到 UINavigationController 上时才会应用:

enter image description here

我希望在屏幕加载时应用自定义,但我不确定将其放在哪里。

谢谢!

最佳答案

您可以子类化 UINavigationController 和 this可以帮助您了解 UISplitViewController。虽然我认为您对 UINavigationBar 自定义有问题

关于ios - UISplitViewController 是如何工作的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32623237/

相关文章:

ios - 创建未知类型的图像格式是一个错误没有上传图像。 swift

ios - 存储提供商 : Cannot list document pickers of export/move mode since beta4

ios - 如何在紧凑型设备上快速正确使用 splitViewController 中的 didSelectRowAt ?

iphone - iOS 7 UISearchDisplayController 动画故障

ios - 如何将 __autoreleasing 地址保留为类中的强属性?

ios - 如何在一个 View Controller 中快速将占位符设置为多个 TextView

ios - Swift firebase 快照在数据存在时返回 null

ios - 如何在 EventKit 中使用 CalendarIdentifier 获取提醒?

ios - 无法对响应对象执行操作?

Swift 3.0 - 日历 startOfDay 方法返回凌晨 3 点