Hallo,
zur korrekten darstellung meiner Navigationsleisten und Toolbar-Leisten habe ich im AppDelegate folgenden Code hinterlegt:
Alles anzeigen
In den ViewControllern klappt das soweit auch, allerdings übernehme PopoverController diese Eigenschaft unter iOS 7 nicht. Unter iOS 8 schon.
Woran liegt das?
zur korrekten darstellung meiner Navigationsleisten und Toolbar-Leisten habe ich im AppDelegate folgenden Code hinterlegt:
C-Quellcode
- - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- // Override point for customization after application launch.
- [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
- [[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:255.0/255.0 green:167.0/255.0 blue:0.0/255.0 alpha:1.0]];
- [[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
- [[UIToolbar appearance] setBarTintColor:[UIColor colorWithRed:255.0/255.0 green:167.0/255.0 blue:0.0/255.0 alpha:1.0]];
- [[UIToolbar appearance] setTintColor:[UIColor whiteColor]];
- [[UINavigationBar appearance] setTitleTextAttributes:
- [NSDictionary dictionaryWithObjectsAndKeys:
- [UIColor whiteColor], NSForegroundColorAttributeName,
- [UIColor clearColor], UITextAttributeTextShadowColor,
- [NSValue valueWithUIOffset:UIOffsetMake(0, -1)], UITextAttributeTextShadowOffset,
- [UIFont boldSystemFontOfSize:19.0], NSFontAttributeName,
- nil]];
Woran liegt das?
Man kann alles schaffen. Man muss es nur wollen
www.regetskcob.github.io
www.regetskcob.github.io