因为你可以jianli一个新的视图控制器,叫做分割视图控制器(Split view controller)。对于更复杂的数据neirong,导航条和Tab条主要用来给低层次导航提供支持。
基于24个网页-相关网页
模型-视图-控制器(Model - View - Controller)模式指导我们有效地分割代码,在用户接口和模型之间定义一个良好的边界。
The Model-View-Controller pattern taught us to effectively partition our code along a well-defined boundary between the user interface and model.
把UI分割成过多小视图,会使我们在控制器中难以管理、引用和控制视图。
Splitting up the UI into too many small views will make it difficult to manage, reference and control the views in our controllers.
应用推荐