iPhone开发 多线程的使用
thOne=[[NSThreadalloc]initWithTarget:selfselector:@selector(run) object:nil];
[thOne start];
-(void)run
{
//代码
}
本文来自:http://www.fanwa.net
thOne=[[NSThreadalloc]initWithTarget:selfselector:@selector(run) object:nil];
[thOne start];
-(void)run
{
//代码
}