Re:How do iPhone apps Instagram/Reeder/DailyBooth implement ...
by dangrover on Wednesday January 12, 2011 @09:33AM
(#2096245)
In Etude (etudeapp.com), I made a custom nav bar class and a custom back button control, and I just hijack -pushNavigationItem:animated: in the custom nav bar.
[ Parent
| on HN ]
Re:How do iPhone apps Instagram/Reeder/DailyBooth implement ...
by flyosity on Wednesday January 12, 2011 @10:32AM
(#2096424)
The way I do it is call [self.navigationItem setHidesBackButton:YES animated:NO]; then create a new UIBarButtonItem using -initWithCustomView: (passing in a UIButton subclass I wrote to render a back button) and set the left-side button of the navigation bar to this new button. To implement the "go back" behavior I just use the regular target-action functionality of my UIButton and manually call -popViewControllerAnimated.