This application is modifying the autolayout engine from a background thread, which can lead to engi

版权声明:随便转载,方便就写个出处。 https://blog.csdn.net/xiao562994291/article/details/50506727

This application is modifying the autolayout engine from a background thread, which can lead to engi

此问题是在非主线程里面布局了界面相关的代码,并且界面也会出现延迟的现象。解决办法是把界面相关的代码放到主线程里面来。所以用GCD回到主线程,然后就解决了这个问题。

  dispatch_async(dispatch_get_main_queue(), ^{

                  //代码写这里面。

                 });



Can't find keyplane that supports type 8 for keyboard iPhone-Portrait-DecimalPad; using Default?

1.Hardware》》keyboard》》Toggle Software keyboard。
2.改变一下keyboardType,UIKeyboardTypeDecimalPad,

阅读更多
换一批

没有更多推荐了,返回首页