user1186514
user1186514

Reputation: 49

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!

Upvotes: 1

Views: 15556

Answers (2)

Raymond Wang
Raymond Wang

Reputation: 1484

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.

Upvotes: 0

picciano
picciano

Reputation: 22701

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

Upvotes: 2

Related Questions