Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经编写了一个名为 register 的函数,它与服务器连接并调用 register done 方法(如果连接建立成功),这是一个委托方法,现在我在这里尝试显示警报框,但 UI 卡住并且出现发光但警报盒子没有?有人可以帮我吗?
您正在尝试从后台线程显示警报,您不应该这样做,您需要从主线程显示警报