线程 NSThread 创建线程
通过NSThread 创建线程
参数1 方法的执行者
参数2 在线程中执行的方法
参数3 用于传递参数
第一步 , 创建线程
NSThread * thread = [[NSThread alloc]initWithTarget:self selector:@selector(banzhuanPlus) object:nil];
第二步 : 执行
[thread start];
[thread release];
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。