Reputation: 49
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
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
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