简体   繁体   中英

How do you make a multi-page app in Xcode for IPhone?

I am new to Xcode and am having trouble with my single view/view-based application for iPhone.

I have 2 buttons on the view and I need simple beginner instructions on how to make 1 button go to a different page and have a back button and have the other button on that view do the same as the first button.

Can anyone help? Thanks!

You are likely looking for a UINavigationController. There are many good tutorials for getting started with that.

This has links to some sample code: https://developer.apple.com/library/IOs/#documentation/UIKit/Reference/UINavigationController_Class/Reference/Reference.html

You need navigation based app. Take a look at here: https://developer.apple.com/library/IOs/#documentation/UserExperience/Conceptual/TableView_iPhone/TableViewAndDataModel/TableViewAndDataModel.html to understand what a navigation based app and how that works with uitableview.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM