美文网首页
xcode 11下代码显示异常的部分问题

xcode 11下代码显示异常的部分问题

作者: 贝灬小晖 | 来源:发表于2020-03-02 16:19 被阅读0次

1.使用以下代码会崩溃
// if let statusBar = UIApplication.shared.value(forKey: "statusBar") as? UIView{
// statusBar.backgroundColor = UIColor.clear
// }

2.textfiled leftView 设置imageView 会变的很大
解决办法:
使用 uiview 做为leftView 将imageView添加在UIView上

相关文章

网友评论

      本文标题:xcode 11下代码显示异常的部分问题

      本文链接:https://www.haomeiwen.com/subject/diyvkhtx.html