gpt4 book ai didi

ios - 如何调试 UI Xcode?

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:36:35 25 4
gpt4 key购买 nike

收到此运行时警告,如何在它发生的地方获取行?

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

enter image description here

关于ios - 如何调试 UI Xcode?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46584893/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com