2012年6月5日
摘要: 这个问题的实质应该是在非主线程中 直接修改 界面。 如果把alertView 发在主线程调用就ok了。==============非主线程[self performSelectorOnMainThread:@selector(onResp*****eInMainThread) withObject:nil waitUntilDone:YES];============= 主线程-(void)on... 阅读全文
posted @ 2012-06-05 17:26 easonoutlook 阅读(193) 评论(0) 推荐(0) 编辑
摘要: static RootViewController *sharedRootController = nil; +(RootViewController *) sharedController{ @synchronized(self){ if (sharedRootController == nil) { sharedRootController ... 阅读全文
posted @ 2012-06-05 17:25 easonoutlook 阅读(131) 评论(0) 推荐(0) 编辑