- This application is modifying th
- this application is modifying th
- This application is modifying th
- This application is modifying th
- This application is modifying th
- This application is modifying th
- This application is modifying th
- This application is modifying th
- This application is modifying th
- This application is modifying th
今天莫名其妙出了这个问题,也不崩溃,也不往下执行。
后来去查了一下,是线程的问题,需要把UI放置在主线程
在代码里加上这句就好了~
dispatch_async(dispatch_get_main_queue(),^{
// code here
});
网友评论