Home  >  Q&A  >  body text

objective-c - 求关于IOS中 导航控制器以及 控制器之间的切换的文章介绍,thanks!

我学IOS也有一段时间了,但是我是在公司边做边学的,很多时候学习由主动变成了被动。一些东西我自己还没弄明白的情况下,功能却已经实现了。可是我又没有时间进行深入的了解。我现在对于app内界面之间的切换和导航控制器的使用还是比较莫不清楚。希望前辈们给我一些建议,我也在空余时间开发自己的小app,只是为了巩固和加深所学和理解的知识。

淡淡烟草味淡淡烟草味2726 days ago483

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-02 09:21:43

    When we implement a multi-page App project, the commonly used page containers officially provided by Apple are UITabBarControllerUINavigationController.

    UITabBarController manages all UIViewControllers in the container through an array, and UINavigationController manages all UIViewControllers in the container through a stack. These two containers can be nested. The standard nesting method is to use UITabBarController as the main container and UINavigationController as the auxiliary container.

    For the stack management of UINavigationController, here is an article you can take a look at: View Controller Flow (Pure Code Version). Some of the content may be out of date or have errors, but it should still be helpful for you to understand Navigation-style page management.

    In addition, if you are new to iOS, here are a few helpful articles for you:

    • Getting started with iOS (1): Create an iOS project

    • Getting Started with iOS (2): Managing Third-Party Libraries

    • Getting started with iOS (3): Implementing a multi-page App

    • Getting started with iOS (4): Requesting data from the network

    • Getting Started with iOS (5): Storing Data Locally

    These articles introduce a common business scenario of iOS applications from a broad concept. The articles provide basic steps and source code downloads, so that you can see the effect immediately. However, the article only gives the most basic knowledge points related to the topic. You need to study further for details and expanded knowledge. I hope useful to you.

    reply
    0
  • Cancelreply