Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 89

peter777
Aspiring developer
Profile
Posts: 13
Reg: Sep 27, 2013
Pasadena
1,780
11/08/13 10:51 AM (12 years ago)

Back Button Color Change

Hey does anyone know how to change the back button color from the standard blue tint? Thanks :)
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
11/08/13 11:58 AM (12 years ago)
You can change the color of your navbar icons to any system color you want by doing some changes in the code. Go to BT_viewUtilities.m file and look for line no- 277 onwards, it should look like as follows... //set the nav bar style if([[BT_strings getStyleValueForScreen:theScreenData nameOfProperty:@"navBarStyle" defaultValue:@""] isEqualToString:@"transparent"]){ [theViewController.navigationController.navigationBar setTranslucent:TRUE]; }else{ [theViewController.navigationController.navigationBar setTranslucent:FALSE]; Now below this code put the following code to turn the navbar icon tint color to white- theViewController.navigationController.navigationBar.tintColor = [UIColor whiteColor]; } You can change the navbar icon tint color to any system color you want by adjusting the UIColor.
 
peter777
Aspiring developer
Profile
Posts: 13
Reg: Sep 27, 2013
Pasadena
1,780
like
11/08/13 12:00 PM (12 years ago)
Sweet! Thanks Sandeep... really helpful ... I am sure this will work like a charm. Thanks for taking the time to respond :)
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
11/08/13 10:59 PM (12 years ago)
Sandeep -- wow, an Android rocker was spot on with an iOS gem of an answer! Thanks, saving that tip for the future! Peter -- are you aware of the nearby San Diego Buzzday at the end of Jan-2014? Please do join us! https://www.buzztouch.com/forum/thread.php?tid=01658DE87A2D3EEE9FDB593&fid=7BD14758D219B687103E4E3&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 -- Niraj
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
11/08/13 11:20 PM (12 years ago)
@Niraj- Lol!!! Now a days i have taken iOS seriously. My third iOS app got released few hours back. That makes 3 iOS apps in 39 days and without any rejections. I have few more tricks to change the navbar color, tab bar color and other tricks as well... Will be making a pdf tutorial soon.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
11/09/13 12:15 AM (12 years ago)
From The iOS Dev Weekly free email service: http://iosdevweekly.us2.list-manage1.com/track/click?u=2bab0c5254f02a208c8f176f0&id=63724161b7&e=f27065c321 Dave Werver writes; "Simon Ng takes a quick look at the UIAppearance options for customisation which are still with us in iOS 7 and how to make your app look a little different." http://iosdevweekly.us2.list-manage.com/track/click?u=2bab0c5254f02a208c8f176f0&id=f138f93191&e=f27065c321 Hopefully, Sandeep can translate that set of tips into BuzzTouch lingo! :-) -- Niraj
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
11/09/13 12:56 AM (12 years ago)
Well I have submitted the pdf to Susan who will include it in the How To's section after it gets approved. But here is the link of the pdf document just in case if any one needs it before hand. https://dl.dropboxusercontent.com/u/61663890/Tutorials/ios7_tab_navbar_changes.pdf
 
peter777
Aspiring developer
Profile
Posts: 13
Reg: Sep 27, 2013
Pasadena
1,780
like
11/13/13 05:10 PM (12 years ago)
Thanks for the invite Niraj I will definitely consider it!
 

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.