2017年11月9日
摘要: //根据经纬度解析成位置 CGFloat latitude = [[MLUserModel sharedUserInfo].latitude floatValue];//经度 CGFloat longitude = [[MLUserModel sharedUserInfo].longitude fl 阅读全文
posted @ 2017-11-09 14:09 廖利君 阅读(678) 评论(0) 推荐(0) 编辑
摘要: _dataArr 这里面有20个元素,需求是只要3个 for(int i = 0;i<3;i++){//先拿3个,循环拿取 NSIndexSet *indexset = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0,2)];//范围0,1, 阅读全文
posted @ 2017-11-09 11:26 廖利君 阅读(4725) 评论(0) 推荐(0) 编辑
摘要: 1,打来终端 进入项目根目录 cd 进入 cd .. 返回上一层 ls 查看当前目录下的子文件 vim 是修改当前目录文件 注:在该目录下也可以创建新的目录 esc+:+wq 是修改后退 mkdir 创建目录 mv 移动文件 例:想把mac.text 移到桌面 mv /System/Library/ 阅读全文
posted @ 2017-11-09 10:36 廖利君 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 实际运用场景: 上传图片,查看相机设备,使用相机 在做这些操作的时候先调用这段话 AVAuthorizationStatus authStatus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo]; if (au 阅读全文
posted @ 2017-11-09 10:30 廖利君 阅读(1162) 评论(0) 推荐(0) 编辑