收到此运行时警告,如何获取它发生的行?
runtime: UI API called from background thread: -[UIView bounds] must be used from main thread only
是否有任何断点,即符号断点
?
Main Thread checker 可以选择在问题处暂停。您只需要启用它。
EditScheme->Run->Diagnostics->RunTime API Checking-> Select both Main Thread Checker and Pause On Issues
关于ios - 如何调试 UI Xcode?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46584893/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |