Xcode 10 NavigationBar图标未在某些设备上显示 [英] Xcode 10 NavigationBar icons not appearing on some devices

查看:112
本文介绍了Xcode 10 NavigationBar图标未在某些设备上显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天使用的是Xcode 10,在开发和测试过程中,我注意到图标没有出现在iPhone 5s,iPhone 6s,iPhone 7s中,仅在iPhone X上可以使用,我使用xCode storyboard设置了此图标,附上图片,使我的问题更加清楚. 谢谢.

I am using Xcode 10 today, during development and testing I noticed that icons did not appear in iPhone 5s, iPhone 6s, iPhone 7s, just work on iPhone X, I set this icons by using xCode storyboard, I attached images to make my question more clear. Thanks.

*请检查导航栏*

iPhone 6s

iPhone 6s

iPhone X

推荐答案

不幸的是,这个带有xCode 10的错误,有时不仅在所有应用程序视图中的导航中都没有显示图标,而且有些人还说:颜色配置文件设置为sRGB.",我做到了,并与某些图标一起使用,而其他图标则没有,我说可能是CocaPods遇到了这个问题,但不是这样,当我使用xCode 10 beta版时,所有错过工作的图标都像个魅力,但是苹果在他们的AppStore中不接受beta版本发布,经过两天的搜索,我再次在xCode 9.4上运行了我的代码,它的运行非常吸引人,我才意识到我的应用程序已经在AppStore中了.

Unfortunately, this bug with xCode 10, sometimes icons not appears not only in Navigation in all the app views, but some people also said: "The fix was setting color profile to sRGB.", I did it and works with some icons and with the others not, I said maybe this issue with CocaPods but not it, when I used xCode 10 beta version, all icons that missed work like a charm, but Apple not accept beta version release in their AppStore, after two days of searching I ran my code again on xCode 9.4 and its worked like a charm and I realized my app to AppStore.

这篇关于Xcode 10 NavigationBar图标未在某些设备上显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆