The IMDB app for iPhone seems to allow infinite drill downs and explorations from a movie detail page to a detail page of an actor who was in that movie, to that actor's first movie to that movie's director, etc.
What is the best way to build this in Xcode?
Be sure to check out Apple's UINavigationController
documentation/sample code here . You can learn a lot about iOS development from looking at the sample apps.
The "infinite drill down" you're referring to is the act of "pushing" a controller onto the current stack of controllers. As you go back, you "pop" a controller off the stack to get back to the previous controller. If implemented properly, UINavigationController
will handle things like making sure the Back button contains the title of the previous screen, keeping the screens in order, and the sliding motion.
Good luck!
您可以使用UINavigationController
创建并根据需要逐个推送视图。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.