ios 代码
CTCellularData *cellularData = [[CTCellularData alloc]init];
CTCellularDataRestrictedState state = cellularData.restrictedState;
switch (state) {
case kCTCellularDataRestricted:
NSLog(@"Restricrted");
break;
case kCTCellularDataNotRestricted:
NSLog(@"Not Restricted");
break;
case kCTCellularDataRestrictedStateUnknown:
NSLog(@"Unknown");
break;
default:
break;
}
求大神翻译一下
z本睿
- 发布:2018-07-05 16:21
- 更新:2018-10-25 20:21
- 阅读:1653
1 个回复
勒布朗
你好 请问你解决了吗 ? 我也遇到了要判断用户是否开启数据权限