diff options
author | Vitaly Takmazov | 2020-05-15 13:43:02 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-05-15 13:43:02 +0300 |
commit | cdf5882694060ebc4f74cef1afb84a0534c8f839 (patch) | |
tree | ff4ba7ccf45ae9bc8721f4b92306813f3b493ddd /Juick/AppDelegate.m | |
parent | 60376f51f869292d50e53cf3a220f74910303edc (diff) |
Global tint color and non-translucent navigation bar
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r-- | Juick/AppDelegate.m | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index 441240a..4ff6afd 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -44,13 +44,8 @@ NSString * const UserUpdatedNotificationName = @"UserUpdated"; self.sharedDateFormatter = [NSDateFormatter new]; self.sharedDateFormatter.dateFormat = @"yyyy-MM-dd HH:mm:ss"; [self.sharedDateFormatter setTimeZone:[NSTimeZone timeZoneWithName:@"UTC"]]; - [[UINavigationBar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; - [[UINavigationBar appearance] setBarTintColor:[UIColor colorNamed:@"Background"]]; [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor colorNamed:@"Muted"]}]; - [[UINavigationBar appearance] setLargeTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor colorNamed:@"Muted"]}]; - [[UIToolbar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; - [[UITabBar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; - + [[UINavigationBar appearance] setTranslucent:NO]; [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault; #if !TARGET_IPHONE_SIMULATOR [self registerForRemoteNotifications]; |