Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 39

ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
02/09/13 09:00 AM (12 years ago)

Is there a way to remove the back button on certain screens

Id like to remove the back button from only screens that use html docs without having to remove the toolbar itself, and want I want to keep the right nav button. How can I achieve this?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/09/13 09:21 AM (12 years ago)
insert thuis line of code in the view will appear method under [BT_viewUtilities configureBackgroundAndNavBar:self:[self screenData]]; [self.navigationItem setLeftBarButtonItem:nil]; Bare in mind that every screen this line of code is in will remove the back button, even the refresh button if it is the home screen. So if you put this into the html docs every one will have no back button. How are you planning to return to the previous screen
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
02/09/13 09:46 AM (12 years ago)
with that code i can still use the right button?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/09/13 09:50 AM (12 years ago)
yup, you ask I deliver lol
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
02/09/13 09:51 AM (12 years ago)
thanks for the help much appreciated!
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/09/13 01:53 PM (12 years ago)
If you just need it on 'one' screen and no others, it might be worth duplicating the plugin and implementing the change on the 'extra' plugin and screen... Just a thought... Cheers! -- Smug
 

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.