Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 83

AussieRyan
Aspiring developer
Profile
Posts: 148
Reg: Mar 21, 2012
Margate, QLD Au...
1,480
01/12/14 05:32 PM (11 years ago)

remove Text from Left Nav Bar back button?

Could someone please advise how to remove the text from the back button on the nav bar. I have had a look around the code and I think I have it narrowed it down to BT_viewController.m around line 223? My knowledge ends there. I tried a couple of suggestions from stackoverflow.com, but it was purely cut, paste and hope for the best. No such luck. Is it different for ios7 and/or previous versions?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
01/12/14 09:58 PM (11 years ago)
@AussieRyan: There is a JSON setting for this. Try putting this in the advanced JSON data for the plugin: "navBarBackButtonText":"", Make sure to run the JSON through http://jsonlint.com before you save. Does this help? Jake
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
01/20/14 10:24 AM (11 years ago)
Jake, It is valid JSON, but no effect when I tried it in two different plugins?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
01/28/14 04:06 PM (11 years ago)
Are you using BT3.0? It may have been removed as of 3.0. Jake
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
01/31/14 08:56 PM (11 years ago)
Yes BT v3
 
Lyle @SFNeNT
buzztouch Evangelist
Profile
Posts: 168
Reg: Apr 29, 2011
Chicago, IL
2,830
like
02/03/14 05:13 PM (11 years ago)
Have you tried just simply deleting the line of code that has to do with the left button? //left button -(void)navLeftTap{ [BT_debugger showIt:app theMessage:@"navLeftTap"]; //child apps are handled different... yourapp_appDelegate *appDelegate = (yourapp_appDelegate *)[[UIApplication sharedApplication] delegate]; if([appDelegate.rootApp isChildApp]){ [BT_viewControllerManager closeChildApp]; }else{ //handle "left" transition [BT_viewControllerManager handleLeftButton:screenData]; } }
 

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.