im new to iphone development.can somebody please tell me how can i putt home button to each view of my application. pressing h开发者_JAVA百科ome button user will be provided home screen.
Thanks
Put a home button in xib file or through code in every view and assign it an IBAction, and in this action method if your app is using NavigationController to switch between views, simply do that in button's IBAction method
[self.navigationController popToRootViewController animated:YES]
Try making your project based on tabBarController
... your this idea of making same button on all view is not good ....
精彩评论