ios 独立创建一条线程,去做些事情 - (void)startLoop{ [NSThreaddetachNewThreadSelector:@selector(loopMethod)toTarget:selfwithObject:nil];}- (void)loopMethod{ [NSTimerscheduledTimerWithTimeInterval:3.0f iOS 基础篇 2023-08-25 127 点赞 1 评论 192 浏览