【发布时间】:2012-06-25 02:59:13
【问题描述】:
我有一个我想在-viewDidLoad 之后和后台线程中调用的方法。有没有办法将这两种方法结合起来:
[self performSelector:(SEL) withObject:(id) afterDelay:(NSTimeInterval)]
和
[self performSelectorInBackground:(SEL) withObject:(id)]?
【问题讨论】:
-
你试过Xcode的自动填充吗?太奇妙了! example here
标签: iphone objective-c ios