線程間的通訊 iOS

從其餘線程回到主線程的方法 咱們都知道在其餘線程操做完成後必須到主線程更新UI。因此,介紹完全部的多線程方案後,咱們來看看有哪些方法能夠回到主線程。html NSThreadswift //Objective-C [self performSelectorOnMainThread:@selector(run) withObject:nil waitUntilDone:NO]; //Swift /
相關文章
相關標籤/搜索