判断是否支持多线程

来源:互联网 发布:linux chown r 777 编辑:程序博客网 时间:2024/04/27 09:52

UIDevice* device = [UIDevice currentDevice];
BOOL backgroundSupported = NO;
if ([device respondsToSelector:@selector(isMultitaskingSupported)])
   backgroundSupported = device.multitaskingSupported;

原创粉丝点击