如题,在iPhone 6s Plus ios12.3.1中,UILabel和UIButton显示异常,效果如下:

正常效果

当我在其他设备上运行的时候,又是正常的。
后来发现,显示的uilabel和uibutton设置背景色都是用的color set值。如下图:

最后当我改成RGB值是,就显示正常了。
比较坑的是,color set 是iOS11以后的功能。理论上说,iOS12.3.1上使用应该没问题才是。。。
如题,在iPhone 6s Plus ios12.3.1中,UILabel和UIButton显示异常,效果如下:
正常效果
后来发现,显示的uilabel和uibutton设置背景色都是用的color set值。如下图:
最后当我改成RGB值是,就显示正常了。
比较坑的是,color set 是iOS11以后的功能。理论上说,iOS12.3.1上使用应该没问题才是。。。
本文标题:iOS iPhone 6s Plus ios12.3.1中,
本文链接:https://www.haomeiwen.com/subject/ffwxdktx.html
网友评论