【发布时间】:2011-03-30 10:08:47
【问题描述】:
IPhone SDK - Leaking Memory with performSelectorInBackground
似乎建议您实际上可以在后台线程中 pushViewController。
但是我收到了来自 stackoverflow 人员的警告,我不应该这样做。
例如。 (iphone) start timer from background thread?
pushViewController 是否被视为“UI 更新”?
(因为我知道 UI 更新应该只在主线程中完成)
如果是这样,
当一个 viewController 需要一段时间来加载,并且想要在加载时显示一个指示器。
我的选择是什么?
【问题讨论】:
标签: iphone objective-c multithreading pushviewcontroller