Unknown class in Interface Builder file
在修改一个ViewController类的文件名后,同时修改了StoryBoard中关联类的名称后,运行时出现。
Unknown class X in Interface Builder file.
原因是在StoryBoard中修改Custom Class的名称后,没有个性Module的内容。
StackOverflow“This application is modifying the autolayout engine” error?
运行时显示上述错误,原因是在子线程中调用了修改UI的操作。
解决方案:dispatch_async(dispatch_get_main_queue(), {
// code here
})
StackOverFlowApp Transport Security has blocked a cleartext HTTP
原因:默认不允许访问http的网站,只能访问https的。临时对应方案是在info.plist中追加如下内容。
参考:【iOS9】HTTP→HTTPSだと!App Transport Security(ATS)について
Swift iOS开发过程中遇到问题整理
最新推荐文章于 2023-01-03 10:16:00 发布