- (void)startRemote
{
NSThread *myThread = [[NSThread alloc]
initWithTarget:self selector:mThreadFunc object:self];
[myThread start];
}
-(void)mThreadFunc:(id)param
{
//something to do
}
我打算在startRemote中启动线程执行函数mThreadFunc |
|
![]() 40分 |
selector:@selector(mThreadFun)
|
![]() |
3Q very much
|

