iOS使用定时器,并添加到子线程运行

//定时检查用户的各类消息未读数(每隔5秒钟) NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(checkUnreadCount) userInfo:nil repeats:YES]; //放到子线程 [[NSRunLoop mainRu
相关文章
相关标签/搜索