Programmatically creating UINavigationController in iOS

前端 未结 7 2202
孤街浪徒
孤街浪徒 2020-12-09 22:54

I am new to iOS. And I want to use navigation controller in my application but I have no any idea how to do it. So can any one guide me step by step for creating navigation

7条回答
  •  半阙折子戏
    2020-12-09 23:14

    If you want to create everything programmatically you have to do it in AppDelegate.

    But if you don't want to do it programmatically, then just select the ViewController in Storyboard then select menu options:

    Editor > Embed In > Navigation Controller

提交回复
热议问题