How to change the default View Controller that is loaded when app launches?

前端 未结 4 1120
别那么骄傲
别那么骄傲 2021-01-05 16:39

I have an application, say \'MyApp\', which by default loads the view controller \'MyAppViewController\' whenever the application launches. Later, I added a new view control

4条回答
  •  耶瑟儿~
    2021-01-05 16:56

    As for me with xcode 4.3.3, all I had to do was simply replace all references of 'MyAppViewController' with 'NewViewController' in the AppDelegate h and m files.

    Perhaps all the other steps have been taken out in the newer versions of xcode.

    Hope this helps.

提交回复
热议问题