Commit 095179a8 authored by Sandy's avatar Sandy

bug fix

parent f1a4358f
...@@ -131,11 +131,7 @@ ...@@ -131,11 +131,7 @@
self.forumDetailTableView.separatorStyle = UITableViewCellSeparatorStyleNone; self.forumDetailTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.commentInputTextFieldView.inputAccessoryView = self.bottomView.toolView; 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];
}
} }
......
...@@ -63,6 +63,7 @@ typedef NS_ENUM(NSInteger, ItemIndex) { ...@@ -63,6 +63,7 @@ typedef NS_ENUM(NSInteger, ItemIndex) {
[button addTarget:self action:@selector(extensionButtonClick:) forControlEvents:UIControlEventTouchUpInside]; [button addTarget:self action:@selector(extensionButtonClick:) forControlEvents:UIControlEventTouchUpInside];
[self addSubview:button]; [self addSubview:button];
} }
[self mwPhotoArray];
} }
- (void)extensionButtonClick:(UIButton *)btn { - (void)extensionButtonClick:(UIButton *)btn {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment