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