-
pod 'Masonry', '~> 1.1.0' pod 'BRPickerView', '~> 2.7.6' pod 'HCSStarRatingView', '~> 1.5' pod 'QMUIKit', '~> 4.4.0' pod 'ReactiveObjC', '~> 3.1.0' pod 'SDWebImage', '~> 5.0'
-
Privacy - Photo Library Usage Description 授权通过相册,选择头像或身份证照片
Privacy - Camera Usage Description 授权通过相机,进行头像拍摄或扫描二维码
-
NECreateDemoViewModel *viewModel = [[NECreateDemoViewModel alloc]init];
// 表单数组 @property (nonatomic, strong) NSArray<NSArray*>* modelGroups;
- (NSArray<NSArray*>*)modelGroups{ if (!_modelGroups) { // 根据需求添加不同的formCellModel _logoImagesModel = [[NEImagePickTableViewCellModel alloc] init]; _logoImagesModel.title = @"上传俱乐部Logo"; _logoImagesModel.mode = 1; _logoImagesModel.maxPhotoNum = 1; _logoImagesModel.isNecessary = YES; // 装进组内 self.modelGroups = @[@[_logoImagesModel]]; } return _modelGroups; }
-
[[NEFormTableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped models:self.viewModel.modelGroups];