[memo] Objective-C UINavigationController 切換技巧

Jameskrauser Lee
2 min readMar 5, 2018

--

Step1.
remove original view controller.m and .h file and original ViewController

drag Navigation Controller

Now we don’t need Tableview . so remove it.

Step2.

drag 3 view controller and add 3 ViewControll from cocoa-Touch class and subclass from UIViewController

Setting class to ViewController
drag from ViewController to First View Controller and select root view controller

Source Code
https://github.com/jameskrauser/objctivec_NavigationControllerSwitch

--

--

Jameskrauser Lee
Jameskrauser Lee

Written by Jameskrauser Lee

For the last few years. i was involved mostly in the development of Automatic Fare collection system for the Chennai Metro. Familiar with C++ and iOS.

No responses yet