Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 68

Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
04/05/14 01:20 AM (10 years ago)

Navbar Font Color on Native Popovers?

Hey guys, when using ios 7, my navbars in my app work fine with black font color... however any popovers that my plugins use, like sending email using the native email app, or choosing a pic from the camera roll, have the font in the navbar as white, and barely visible... looks like a shadow tint... any ideas how to fix this? I played around with some navbar font changing code in the native app parts of the BT_ViewController.m file, but nothing worked. My app is pretty close to release, but can't do so with mismatched navbar fonts. Any ideas?
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/05/14 02:22 AM (10 years ago)
Got it... had to add this to the bt_viewcontroller.m: [[UINavigationBar appearance] setTitleTextAttributes: [NSDictionary dictionaryWithObjectsAndKeys: [UIColor blackColor], UITextAttributeTextColor, [UIColor redColor], UITextAttributeTextShadowColor, [NSValue valueWithUIOffset:UIOffsetMake(0, 0)], UITextAttributeTextShadowOffset, [UIFont fontWithName:@"HelveticaNeue" size:14], UITextAttributeFont, nil]];
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
04/05/14 07:31 AM (10 years ago)
Good man -- save that tip into Codebox!
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/05/14 08:08 AM (10 years ago)
lol, yep... thats the other main reason I always post my findings, other than to help others of course, is to archive it for future reference in case I ever need to look it up again for a future project. Wow... love that name codebox... I almost got excited when I checked the domain codebox.com and it wasn't valid... turns out it's already registered though, just no hosting on it.... dang, I smelled a buzztouch version of github coming on! lol
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
04/05/14 08:13 AM (10 years ago)
Check out CodeBox at: http://www.CodeBoxApp.com/ A few people on here and elsewhere on GitHub share their codebox archives. You can do mighty sweet spelunking in them hills. Now go back to sleep ... :-)
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/05/14 08:15 AM (10 years ago)
lmao... I'm always the last to know ;)
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
04/05/14 12:39 PM (10 years ago)
Cool tips.thank yall!
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
04/29/14 09:31 AM (10 years ago)
Does that code have to go anywhere in particular? Sorry, I'm layman with this sort of thing.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
04/29/14 12:11 PM (10 years ago)
Been awhile since I've looked at it, but I don't believe there is any particular place it needs to go., as long as it's after your header imports.
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
04/29/14 01:20 PM (10 years ago)
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.