|
|
|
|
362
|
viewController.navigationController.navigationBar.barTintColor = nil;
|
362
|
viewController.navigationController.navigationBar.barTintColor = nil;
|
363
|
}
|
363
|
}
|
364
|
|
364
|
|
365
|
- NSMutableDictionary *titleTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarText" baseFont:[UIFont boldSystemFontOfSize:17]];
|
|
|
|
|
365
|
+ NSMutableDictionary *titleTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle
|
|
|
366
|
+ withPrefix:@"navBarText"
|
|
|
367
|
+ baseFont:[UIFont boldSystemFontOfSize:17]];
|
366
|
[self.navigationController.navigationBar setTitleTextAttributes:titleTextAttributes];
|
368
|
[self.navigationController.navigationBar setTitleTextAttributes:titleTextAttributes];
|
|
|
369
|
+
|
|
|
370
|
+ if ([self.navigationController.navigationBar respondsToSelector:@selector(setLargeTitleTextAttributes:)]) {
|
|
|
371
|
+ // As defined in Apple's UI Design Resources: https://developer.apple.com/design/resources/
|
|
|
372
|
+ UIFont *largeBaseFont = [UIFont boldSystemFontOfSize:34];
|
|
|
373
|
+ NSMutableDictionary *largeTitleTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle
|
|
|
374
|
+ withPrefix:@"navBarLargeText"
|
|
|
375
|
+ baseFont:largeBaseFont];
|
|
|
376
|
+ [self.navigationController.navigationBar setLargeTitleTextAttributes:largeTitleTextAttributes];
|
|
|
377
|
+ }
|
367
|
|
378
|
|
368
|
NSMutableDictionary *navButtonTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarButton"];
|
379
|
NSMutableDictionary *navButtonTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarButton"];
|
369
|
NSMutableDictionary *leftNavButtonTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarLeftButton"];
|
380
|
NSMutableDictionary *leftNavButtonTextAttributes = [RCTHelpers textAttributesFromDictionary:self.navigatorStyle withPrefix:@"navBarLeftButton"];
|