【发布时间】:2013-05-28 14:05:43
【问题描述】:
我必须在后台或新线程中运行此方法。如何在 performSelector 中传递两个参数?
[self addMessageFromRemoteNotification:userInfo updateUI:NO];
-(void)addMessageFromRemoteNotification:(NSDictionary *)userInfo updateUI:(BOOL)updateUI
{
}
【问题讨论】:
-
这将对您有所帮助。 stackoverflow.com/questions/2716143/…
-
查看我对这个问题的回答:stackoverflow.com/questions/16731105/…
标签: ios objective-c nsthread