Commit f5d099271eb42b69f37aa818721fa0554b3ccbf3

Authored by daojian
1 parent cf00395f

0.0.6 版本 图片选择器修改

CNLiveBUserAgreement.podspec
@@ -8,8 +8,8 @@ @@ -8,8 +8,8 @@
8 8
9 Pod::Spec.new do |s| 9 Pod::Spec.new do |s|
10 s.name = 'CNLiveBUserAgreement' 10 s.name = 'CNLiveBUserAgreement'
11 - s.version = '0.0.6'  
12 - s.summary = 'CNLiveBUserAgreement.' 11 + s.version = '0.0.7'
  12 + s.summary = 'CNLiveBUserAgreement'
13 13
14 # This description is used to generate tags and improve search results. 14 # This description is used to generate tags and improve search results.
15 # * Think: What does it do? Why did you write it? What is the focus? 15 # * Think: What does it do? Why did you write it? What is the focus?
CNLiveBUserAgreement/Classes/CNLiveUserAgreementController.m
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 #import <AVFoundation/AVCaptureDevice.h> 15 #import <AVFoundation/AVCaptureDevice.h>
16 #import <AVFoundation/AVMediaFormat.h> 16 #import <AVFoundation/AVMediaFormat.h>
17 #import <CNLiveAVCamera/XFCameraController.h> 17 #import <CNLiveAVCamera/XFCameraController.h>
18 -#import <CNLiveImagePickerController/TZImagePickerController.h> 18 +#import <CNLiveImagePickerController/CNImagePickerController.h>
19 #import <CNLiveRequestBastKit/CNLiveNetworking.h> 19 #import <CNLiveRequestBastKit/CNLiveNetworking.h>
20 #import <CNLiveManager/CNLiveManager.h> 20 #import <CNLiveManager/CNLiveManager.h>
21 #import <CNLiveEnvironment/CNLiveEnvironment.h> 21 #import <CNLiveEnvironment/CNLiveEnvironment.h>
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
25 #import <CNLiveUserManagement/CNUserInfoManager.h> 25 #import <CNLiveUserManagement/CNUserInfoManager.h>
26 #import <CNLiveCustomControl/CNLiveWebView.h> 26 #import <CNLiveCustomControl/CNLiveWebView.h>
27 27
28 -@interface CNLiveUserAgreementController ()<UIImagePickerControllerDelegate,UINavigationControllerDelegate,TZImagePickerControllerDelegate> 28 +@interface CNLiveUserAgreementController ()<UIImagePickerControllerDelegate,UINavigationControllerDelegate>
29 @property (nonatomic, strong) NSMutableArray *images; 29 @property (nonatomic, strong) NSMutableArray *images;
30 @property (nonatomic, strong) NSMutableArray *pics; 30 @property (nonatomic, strong) NSMutableArray *pics;
31 31
@@ -202,7 +202,7 @@ @@ -202,7 +202,7 @@
202 [CNLiveAuthorizationManager getPHAuthorizationStatus:^{ 202 [CNLiveAuthorizationManager getPHAuthorizationStatus:^{
203 __strong typeof(weakSelf) strongSelf = weakSelf; 203 __strong typeof(weakSelf) strongSelf = weakSelf;
204 if(!strongSelf) return ; 204 if(!strongSelf) return ;
205 - TZImagePickerController *picker = [[TZImagePickerController alloc] initWithMaxImagesCount:1 delegate:strongSelf]; 205 + CNImagePickerController *picker = [[CNImagePickerController alloc] initWithMaxImagesCount:1 delegate:strongSelf];
206 picker.modalPresentationStyle = UIModalPresentationFullScreen; 206 picker.modalPresentationStyle = UIModalPresentationFullScreen;
207 picker.allowPickingVideo = NO; 207 picker.allowPickingVideo = NO;
208 picker.allowPreview = NO; 208 picker.allowPreview = NO;
Example/CNLiveBUserAgreement.xcodeproj/project.pbxproj
@@ -311,6 +311,7 @@ @@ -311,6 +311,7 @@
311 "${BUILT_PRODUCTS_DIR}/CNLiveBaseClass/CNLiveBaseClass.framework", 311 "${BUILT_PRODUCTS_DIR}/CNLiveBaseClass/CNLiveBaseClass.framework",
312 "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework", 312 "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework",
313 "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework", 313 "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework",
  314 + "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework",
314 "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework", 315 "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework",
315 "${BUILT_PRODUCTS_DIR}/CNLiveCategory/CNLiveCategory.framework", 316 "${BUILT_PRODUCTS_DIR}/CNLiveCategory/CNLiveCategory.framework",
316 "${BUILT_PRODUCTS_DIR}/CNLiveCommonCategory/CNLiveCommonCategory.framework", 317 "${BUILT_PRODUCTS_DIR}/CNLiveCommonCategory/CNLiveCommonCategory.framework",
@@ -328,6 +329,8 @@ @@ -328,6 +329,8 @@
328 "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework", 329 "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework",
329 "${BUILT_PRODUCTS_DIR}/Qiniu/Qiniu.framework", 330 "${BUILT_PRODUCTS_DIR}/Qiniu/Qiniu.framework",
330 "${BUILT_PRODUCTS_DIR}/SDAutoLayout/SDAutoLayout.framework", 331 "${BUILT_PRODUCTS_DIR}/SDAutoLayout/SDAutoLayout.framework",
  332 + "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework",
  333 + "${BUILT_PRODUCTS_DIR}/SSZipArchive/SSZipArchive.framework",
331 "${BUILT_PRODUCTS_DIR}/WebViewJavascriptBridge/WebViewJavascriptBridge.framework", 334 "${BUILT_PRODUCTS_DIR}/WebViewJavascriptBridge/WebViewJavascriptBridge.framework",
332 "${BUILT_PRODUCTS_DIR}/YYAsyncLayer/YYAsyncLayer.framework", 335 "${BUILT_PRODUCTS_DIR}/YYAsyncLayer/YYAsyncLayer.framework",
333 "${BUILT_PRODUCTS_DIR}/YYCache/YYCache.framework", 336 "${BUILT_PRODUCTS_DIR}/YYCache/YYCache.framework",
@@ -345,6 +348,7 @@ @@ -345,6 +348,7 @@
345 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseClass.framework", 348 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseClass.framework",
346 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework", 349 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework",
347 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework", 350 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework",
  351 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework",
348 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework", 352 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework",
349 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCategory.framework", 353 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCategory.framework",
350 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonCategory.framework", 354 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonCategory.framework",
@@ -362,6 +366,8 @@ @@ -362,6 +366,8 @@
362 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework", 366 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework",
363 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Qiniu.framework", 367 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Qiniu.framework",
364 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDAutoLayout.framework", 368 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDAutoLayout.framework",
  369 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
  370 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SSZipArchive.framework",
365 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebViewJavascriptBridge.framework", 371 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebViewJavascriptBridge.framework",
366 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYAsyncLayer.framework", 372 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYAsyncLayer.framework",
367 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYCache.framework", 373 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYCache.framework",