diff --git a/LGPhotoBrowser.xcodeproj/project.pbxproj b/LGPhotoBrowser.xcodeproj/project.pbxproj index 6a6b382..0726248 100644 --- a/LGPhotoBrowser.xcodeproj/project.pbxproj +++ b/LGPhotoBrowser.xcodeproj/project.pbxproj @@ -802,16 +802,16 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "iPhone Developer: Zhou qianren (C9LR3LDBA9)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Zhou qianren (C9LR3LDBA9)"; + CODE_SIGN_IDENTITY = "iPhone Developer: peng Oliver (GW4AS6447M)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: peng Oliver (GW4AS6447M)"; GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; INFOPLIST_FILE = LGPhotoBrowser/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 7.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.company.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = cn.jj.TKLobby; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = "e38d76ee-fb66-4ed9-9383-a081d1eb9069"; + PROVISIONING_PROFILE = "53c8944c-39e0-4493-a0ba-77da0fbf0506"; }; name = Debug; }; @@ -819,15 +819,16 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "iPhone Developer: Zhou qianren (C9LR3LDBA9)"; + CODE_SIGN_IDENTITY = "iPhone Developer: peng Oliver (GW4AS6447M)"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: peng Oliver (GW4AS6447M)"; GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; INFOPLIST_FILE = LGPhotoBrowser/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 7.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.company.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = cn.jj.TKLobby; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE = "e38d76ee-fb66-4ed9-9383-a081d1eb9069"; + PROVISIONING_PROFILE = "53c8944c-39e0-4493-a0ba-77da0fbf0506"; }; name = Release; }; diff --git a/LGPhotoBrowser/Classes/LGPhotoPicker/ViewControllers/LGPhotoPickerAssetsViewController.m b/LGPhotoBrowser/Classes/LGPhotoPicker/ViewControllers/LGPhotoPickerAssetsViewController.m index 6c67276..0db0ff4 100755 --- a/LGPhotoBrowser/Classes/LGPhotoPicker/ViewControllers/LGPhotoPickerAssetsViewController.m +++ b/LGPhotoBrowser/Classes/LGPhotoPicker/ViewControllers/LGPhotoPickerAssetsViewController.m @@ -510,10 +510,8 @@ - (void) cancelBtnTouched{ [self dismissViewControllerAnimated:YES completion:nil]; } - (void) sendBtnTouched { - dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ - [[NSNotificationCenter defaultCenter] postNotificationName:PICKER_TAKE_DONE object:nil userInfo:@{@"selectAssets":self.selectAssets,@"isOriginal":@(self.isOriginal)}]; - NSLog(@"%@",@(self.isOriginal)); - }); + [[NSNotificationCenter defaultCenter] postNotificationName:PICKER_TAKE_DONE object:nil userInfo:@{@"selectAssets":self.selectAssets,@"isOriginal":@(self.isOriginal)}]; + NSLog(@"%@",@(self.isOriginal)); [self dismissViewControllerAnimated:NO completion:nil]; } diff --git a/LGPhotoBrowser/Classes/LGPhotoPicker/ViewControllers/LGPhotoPickerViewController.m b/LGPhotoBrowser/Classes/LGPhotoPicker/ViewControllers/LGPhotoPickerViewController.m index cdb3b58..e436b9e 100755 --- a/LGPhotoBrowser/Classes/LGPhotoPicker/ViewControllers/LGPhotoPickerViewController.m +++ b/LGPhotoBrowser/Classes/LGPhotoPicker/ViewControllers/LGPhotoPickerViewController.m @@ -88,9 +88,7 @@ - (void)showPickerVc:(UIViewController *)vc{ - (void) addNotification{ // 监听异步done通知 - dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(done:) name:PICKER_TAKE_DONE object:nil]; - }); + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(done:) name:PICKER_TAKE_DONE object:nil]; } #pragma mark - 监听点击Done按钮