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