简体   繁体   中英

iOS 13 Navigation Bar Prompt is Always Black

I have read the other posts about the UINavigationBar 's Prompt not following the color values of the actual Title . Most of the posts are from the iOS 11 era, and the solutions no longer work on iOS 13.

UINavigationBar 提示

These are examples of previous posts that no longer have working solutions:

Has anyone else encountered this?

I would suggest the following:

  1. Check that the device is not running in Dark Mode.
  2. Verify that the background-color was not modified anywhere in the code.
  3. Make sure that the style is set to default like in the screenshot below:

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM