|
@@ -11,11 +11,15 @@
|
11
|
11
|
+ (void)setTitleAttributes:(UITabBarItem *)tabItem titleAttributes:(NSDictionary *)titleAttributes {
|
12
|
12
|
[super setTitleAttributes:tabItem titleAttributes:titleAttributes];
|
13
|
13
|
tabItem.standardAppearance.stackedLayoutAppearance.normal.titleTextAttributes = titleAttributes;
|
|
14
|
+ tabItem.standardAppearance.compactInlineLayoutAppearance.normal.titleTextAttributes = titleAttributes;
|
|
15
|
+ tabItem.standardAppearance.inlineLayoutAppearance.normal.titleTextAttributes = titleAttributes;
|
14
|
16
|
}
|
15
|
17
|
|
16
|
18
|
+ (void)setSelectedTitleAttributes:(UITabBarItem *)tabItem selectedTitleAttributes:(NSDictionary *)selectedTitleAttributes {
|
17
|
19
|
[super setSelectedTitleAttributes:tabItem selectedTitleAttributes:selectedTitleAttributes];
|
18
|
20
|
tabItem.standardAppearance.stackedLayoutAppearance.selected.titleTextAttributes = selectedTitleAttributes;
|
|
21
|
+ tabItem.standardAppearance.compactInlineLayoutAppearance.selected.titleTextAttributes = selectedTitleAttributes;
|
|
22
|
+ tabItem.standardAppearance.inlineLayoutAppearance.selected.titleTextAttributes = selectedTitleAttributes;
|
19
|
23
|
}
|
20
|
24
|
|
21
|
25
|
@end
|