Hmmm
buzztouch Evangelist
Profile
Posts: 67
Reg: Sep 17, 2013
location unknow...
6,670
09/26/14 12:21 PM (9 years ago)

BT 3.0 Change back to home

BT_viewController.m In BT 2.0 changing NSString *backText = NSLocalizedString(@"back",@"back"); to @“home”,@“home” displayed "Home" in the top-left of the app header, instead of "Back" In BT 3.0 doing the same thing on line 224 does not change the display. Is there a different file/other places to make this change? Thanks.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
09/26/14 02:55 PM (9 years ago)
 
Hmmm
buzztouch Evangelist
Profile
Posts: 67
Reg: Sep 17, 2013
location unknow...
6,670
like
09/26/14 03:44 PM (9 years ago)
Thanks, Smug. Your help is much appreciated. The above link you suggested worked great. For the future benefit of others, below is a detailed list of the fix. BT_viewController.m Line 224 - Changed NSString *backText = NSLocalizedString(@"back",@"back"); to @“home”,@“home” Not sure the above was necessary, but did it anyway Line 1620 - Added in this code, which was unedited by us. - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; // self.title = @"Leave this blank to show the default title for the second screen, or change it if you need to. (Remember, you've already given the second screen a title in the BT Control Panel...)"; self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Home" style:UIBarButtonItemStylePlain target:nil action:nil]; } The "Back" button now displays "Home" Also, we wanted to change the navbar font color to black and added in this code at the bottom of //set nav bar style self.navigationController.navigationBar.tintColor = [UIColor blackColor];
 

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.