From 9c2c2f5447cfc5e4d76fe95e5e0d07cc75e262a6 Mon Sep 17 00:00:00 2001 From: Sandy <1074472615@qq.com> Date: Tue, 25 Apr 2017 17:35:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B8=E5=86=8C=E6=9D=83=E9=99=90=E7=94=B3?= =?UTF-8?q?=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/ForumItemDetailViewController.m | 6 ++++++ .../ComprehensiveDiscussion/Views/ZJKeyBoardAccessoryView.m | 1 + Lighting/Supporting Files/Info.plist | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumItemDetailViewController.m b/Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumItemDetailViewController.m index 30ed1eb..c1a1ff6 100644 --- a/Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumItemDetailViewController.m +++ b/Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumItemDetailViewController.m @@ -133,6 +133,12 @@ self.commentInputTextFieldView.inputAccessoryView = self.bottomView.toolView; + if (![[self class] determinePhotosPermissions]) { + UIAlertController *alertVC = [UIAlertController alertControllerWithTitle:@"æç¤º" message:@"请在iPad的“设置-éšç§-相册â€é€‰é¡¹ä¸ï¼Œå…è®¸æ¬§ç«‹æ–¹è®¿é—®ä½ çš„ç›¸å†Œ" preferredStyle:UIAlertControllerStyleAlert]; + [alertVC addAction:[UIAlertAction actionWithTitle:@"知é“了" style:UIAlertActionStyleCancel handler:nil]]; + [self presentViewController:alertVC animated:YES completion:nil]; + } + } #pragma mark - WKWebView/photoManager diff --git a/Class/LearningCenter/ComprehensiveDiscussion/Views/ZJKeyBoardAccessoryView.m b/Class/LearningCenter/ComprehensiveDiscussion/Views/ZJKeyBoardAccessoryView.m index 8e6907e..27902b7 100644 --- a/Class/LearningCenter/ComprehensiveDiscussion/Views/ZJKeyBoardAccessoryView.m +++ b/Class/LearningCenter/ComprehensiveDiscussion/Views/ZJKeyBoardAccessoryView.m @@ -203,6 +203,7 @@ typedef NS_ENUM(NSInteger, ItemIndex) { [self.viewController presentViewController:alertVC animated:YES completion:nil]; return; } + MWPhotoBrowser *browser = [[MWPhotoBrowser alloc] initWithDelegate:self]; browser.displayActionButton = YES; browser.displayNavArrows = YES; diff --git a/Lighting/Supporting Files/Info.plist b/Lighting/Supporting Files/Info.plist index 5324d6d..767942c 100755 --- a/Lighting/Supporting Files/Info.plist +++ b/Lighting/Supporting Files/Info.plist @@ -15,7 +15,7 @@ <key>CFBundleName</key> <string>欧立方</string> <key>CFBundleShortVersionString</key> - <string>2.1.2</string> + <string>2.1.3</string> <key>CFBundleURLTypes</key> <array> <dict> @@ -48,7 +48,7 @@ </dict> </array> <key>CFBundleVersion</key> - <string>2.1.2</string> + <string>2.1.3</string> <key>LSApplicationQueriesSchemes</key> <array> <string>wechat</string> -- 2.18.1