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.
标题说明了一切。
我有一个通用函数,用于在 UI 线程上运行操作。如果我已经在 UI 线程上,我想简单地调用该操作。
有没有办法用 MonoTouch 做到这一点?
是的NSThread.IsMain。
NSThread.IsMain
看到这个帖子。