[self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:yhc_navTitleColor,NSFontAttributeName:[UIFont systemFontOfSize:15 weight:UIFontWeightRegular]}];
Accepted Reply
What does "does not work" mean here?
Also we would highly recommend migrating all of your navigation bar, toolbar, and tab bar customization to the UIBarAppearance APIs introduced in iOS 13, as the new bar behaviors that you'll encounter in IOS 15 can only be customized via those APIs.
-
My setting is white, but the display is indeed black;
-
I solved it.thanks!
Replies
What does "does not work" mean here?
Also we would highly recommend migrating all of your navigation bar, toolbar, and tab bar customization to the UIBarAppearance APIs introduced in iOS 13, as the new bar behaviors that you'll encounter in IOS 15 can only be customized via those APIs.
-
My setting is white, but the display is indeed black;
-
I solved it.thanks!
I solved it.thanks!
Hi liujc, how did you solve this? I am having the same issue.