Commit 15abfc4f authored by tanzhen's avatar tanzhen

修复takePictureImage在不允许选视频时不生效的bug

parent 3e9b3de2
......@@ -133,11 +133,6 @@
[super viewWillAppear:animated];
_originStatusBarStyle = [UIApplication sharedApplication].statusBarStyle;
[UIApplication sharedApplication].statusBarStyle = self.statusBarStyle;
if ([self.takePictureImageName isEqualToString:@"takePicture80"]) {
if (self.allowTakePicture && !self.allowTakeVideo) {
self.takePictureImageName = @"takePicture";
}
}
}
- (void)viewWillDisappear:(BOOL)animated {
......
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