Commit e54088522d06a2c61c19e3b5fb2432f1eeb82ae7

Authored by daojian
1 parent 143235a1

0.1.2 图片选择器修改

CNLiveOrganizationValidationModule.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveOrganizationValidationModule'
11   - s.version = '0.1.1'
  11 + s.version = '0.1.2'
12 12 s.summary = '机构认证模块'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveOrganizationValidationModule/Classes/CNLiveOrganizationValidationModule/Controller/CNLiveBOrganizationValidattionController.m
... ... @@ -39,7 +39,7 @@
39 39  
40 40  
41 41  
42   -@interface CNLiveBOrganizationValidattionController ()<UITableViewDataSource,UITableViewDelegate,UITextFieldDelegate,UITextViewDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,TZImagePickerControllerDelegate, RSKImageCropViewControllerDelegate,RSKImageCropViewControllerDataSource>{
  42 +@interface CNLiveBOrganizationValidattionController ()<UITableViewDataSource,UITableViewDelegate,UITextFieldDelegate,UITextViewDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate, RSKImageCropViewControllerDelegate,RSKImageCropViewControllerDataSource>{
43 43 CGPoint contentoffset;
44 44 }
45 45  
... ... @@ -650,7 +650,7 @@
650 650 }
651 651  
652 652 } else if (indexCount == 1) {
653   - TZImagePickerController *imagePickerVc = [[TZImagePickerController alloc] initWithMaxImagesCount:1 delegate:self];
  653 + CNImagePickerController *imagePickerVc = [[CNImagePickerController alloc] initWithMaxImagesCount:1 delegate:self];
654 654 imagePickerVc.modalPresentationStyle = UIModalPresentationFullScreen;
655 655 imagePickerVc.allowTakePicture = NO; // 在内部显示拍照按钮
656 656 imagePickerVc.allowPreview = NO;
... ... @@ -686,7 +686,7 @@
686 686 }
687 687  
688 688 } else if (indexCount == 1) {
689   - TZImagePickerController *imagePickerVc = [[TZImagePickerController alloc] initWithMaxImagesCount:1 delegate:self];
  689 + CNImagePickerController *imagePickerVc = [[CNImagePickerController alloc] initWithMaxImagesCount:1 delegate:self];
690 690 imagePickerVc.modalPresentationStyle = UIModalPresentationFullScreen;
691 691 imagePickerVc.allowTakePicture = NO; // 在内部显示拍照按钮
692 692 imagePickerVc.allowPreview = NO;
... ...
Example/CNLiveOrganizationValidationModule.xcodeproj/project.pbxproj
... ... @@ -394,6 +394,8 @@
394 394 "${BUILT_PRODUCTS_DIR}/RSKImageCropper/RSKImageCropper.framework",
395 395 "${BUILT_PRODUCTS_DIR}/SDAutoLayout/SDAutoLayout.framework",
396 396 "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework",
  397 + "${BUILT_PRODUCTS_DIR}/SSZipArchive/SSZipArchive.framework",
  398 + "${BUILT_PRODUCTS_DIR}/TZImagePickerController/TZImagePickerController.framework",
397 399 "${BUILT_PRODUCTS_DIR}/YYAsyncLayer/YYAsyncLayer.framework",
398 400 "${BUILT_PRODUCTS_DIR}/YYCache/YYCache.framework",
399 401 "${BUILT_PRODUCTS_DIR}/YYCategories/YYCategories.framework",
... ... @@ -430,6 +432,8 @@
430 432 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RSKImageCropper.framework",
431 433 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDAutoLayout.framework",
432 434 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
  435 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SSZipArchive.framework",
  436 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/TZImagePickerController.framework",
433 437 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYAsyncLayer.framework",
434 438 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYCache.framework",
435 439 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYCategories.framework",
... ...