ios 子线程操作UI
ios 子线程操作UI
[self performSelectorOnMainThread:@selector(hideGiftPop:) withObject:@"234" waitUntilDone:NO]; //234为传递参数,hideGiftPop为执行更新UI的方法。例如</span> (void)HideGiftPop { lab.text = @"cat" }
ios 子线程操作UI
[self performSelectorOnMainThread:@selector(hideGiftPop:) withObject:@"234" waitUntilDone:NO]; //234为传递参数,hideGiftPop为执行更新UI的方法。例如</span> (void)HideGiftPop { lab.text = @"cat" }
发表回复