如果你的App是深色主题
那么你需要将状态栏设置为 亮色, lightContent
第一步:
image.png
第二步:
info.plist 文件添加
View controller-based status bar appearance
为 NO
image.png
第三步:
Command + shift + k
clean 项目
卸载App
重新运行
亮了
老忘, 记下来
如果你的App是深色主题
那么你需要将状态栏设置为 亮色, lightContent
info.plist 文件添加
View controller-based status bar appearance
为 NO
Command + shift + k
clean 项目
卸载App
重新运行
亮了
老忘, 记下来