-
iOS学习6_多线程NSThread和GCD NSThread GCD:Grand-Central-Dispatch GCD的其他使用: 线程之间的通信:在主线程修改UI
1.显式创建线程调用start开启NSThread * thread = [[NSThread alloc]initWithTarget:self selector:@selector(run:) object:_url];[thread start];2.隐式创建[NSThread detachN...
1.显式创建线程调用start开启NSThread * thread = [[NSThread alloc]initWithTarget:self selector:@selector(run:) object:_url];[thread start];2.隐式创建[NSThread detachN...