【发布时间】:2018-07-18 08:54:04
【问题描述】:
我在向相册显示带有以下按钮的工具栏时遇到问题,上一个按钮和新按钮显示在底部视图中。如何隐藏此工具栏?
提前致谢。
UIImagePickerController *controller = [[UIImagePickerController alloc] init];
controller.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
controller.allowsEditing = YES;
controller.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType: UIImagePickerControllerSourceTypePhotoLibrary];
controller.delegate = self;
[self.navigationController presentViewController: controller animated: YES completion: nil];
【问题讨论】:
-
欢迎来到 SO。有关如何提问的指导,请参阅 stackoverflow.com/help/mcve。
标签: ios objective-c navigation uibarbuttonitem photo-gallery