Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 73

mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
12/19/12 07:52 PM (13 years ago)

How make right nav bar icon go to home screen?

I am trying to set up the "home" or "rewind" icons, when used as the right navigation bar icon, to NOT load the specified screen but instead to go "home". I've managed to do this in other apps by inserting the following code: [self.navigationController popToRootViewControllerAnimated:YES]; However I can not get it to do anything but cause errors with the right nav bar icons. Any suggestions BT community?? Josh PS, iOS
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/19/12 07:56 PM (13 years ago)
I'm not near my laptop but check out and study the print PDF made by mgoblue in the how to section. It will give you an idea how to tackle the right bar nav
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
12/19/12 08:17 PM (13 years ago)
If it is a tabbed layout the only way that I have found that sort of works is to link it to the splash screen. Not ideal. Shane
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
12/19/12 08:22 PM (13 years ago)
mysps, that print guide looks promising. I'll mess around with it this week and let you know if I get it working. Thanks!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.