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]
1
solved iphone application development home button [closed]