Commit dc908858 authored by 曹云霄's avatar 曹云霄

debug

parent d662c6ea
...@@ -91,6 +91,7 @@ ...@@ -91,6 +91,7 @@
} }
else else
{ {
[DeviceDirectionManager instance].isHorizontal=NO;
[self ErrorMBProgressView:@"相机无法使用"]; [self ErrorMBProgressView:@"相机无法使用"];
} }
}]]; }]];
...@@ -103,10 +104,12 @@ ...@@ -103,10 +104,12 @@
} }
else else
{ {
[DeviceDirectionManager instance].isHorizontal=NO;
[self ErrorMBProgressView:@"相册无法打开"]; [self ErrorMBProgressView:@"相册无法打开"];
} }
}]]; }]];
[alertView addAction:[UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) { [alertView addAction:[UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
[DeviceDirectionManager instance].isHorizontal=NO;
[alertView dismissViewControllerAnimated:YES completion:nil]; [alertView dismissViewControllerAnimated:YES completion:nil];
}]]; }]];
[self presentViewController:alertView animated:YES completion:nil]; [self presentViewController:alertView animated:YES completion:nil];
......
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