【发布时间】:2011-05-02 20:48:57
【问题描述】:
我有一个 UIViewController (parent) 与 viewDidLoad 上的另一个 UIViewController (child) 调用 presentModalViewController。
如果 parent 没有 UINavigationController,那么 presentModalViewController 什么也不做。如果它有一个 UINavigationController,那么 presentModalViewController 会按预期显示 child。
这是presentModalViewController 的标准行为还是这里有其他东西在起作用?
【问题讨论】:
标签: iphone ios uiviewcontroller uinavigationcontroller modal-dialog