开发者

iphone application development home button [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

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 ....

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜