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,