Was ist der Unterschied zu den folgenden Konstrukten?
A: Mutiple UINavigationController.
UINavigationController
`——UITabBarController
|——UINavigationController
| `——UIViewController
|——UINavigationController
| `——UIViewController
|——UINavigationController
| `——UIViewController
`——UINavigationController
`——UIViewController
B: Einzeiliger UINavigationController.
UITabBarController
|——UINavigationController
| `——UIViewController
|——UINavigationController
| `——UIViewController
|——UINavigationController
| `——UIViewController
`——UINavigationController
`——UIViewController
C: Einfacher UINavigationController.
UINavigationController
`----UITabBarController
|——UIViewController
|——UIViewController
|——UIViewController
`——UIViewController
Antworten:
0 für die Antwort № 1Es ist falsch, in Ihrer Steuerungshierarchie mehrfache Navigation zu verwenden. Sie werden den Fehler treffen, wenn Sie eine Navigation auf eine existierende Navigation schieben:
*** Terminating app due to uncaught exception "NSInvalidArgumentException", reason: "Pushing a navigation controller is not supported"