摘要: 让程序回到主线程的方法有:1、通过GCD返回主线程dispatch_async(dispatch_get_main_queue(), ^{ //code here }); 2、利用方法- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait 阅读全文
posted @ 2012-12-22 17:00 Story Of My Life 阅读(93) 评论(0) 推荐(0) 编辑