【发布时间】:2015-04-10 09:07:57
【问题描述】:
我在这里使用下面的代码。如果有人知道这个问题,请帮助我。 我也尝试了以下网址,但它不起作用。请帮帮我
iOS7 UIImagePickerController cancel button disappear UIImagePickerController inside UIPopoverController doesn't show Cancel button on iOS7
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.allowsEditing = YES;
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
[self presentViewController:picker animated:YES completion:NULL];
picker.navigationBar.tintColor = [UIColor redColor];
picker.navigationBar.barStyle = UIBarStyleBlackOpaque;
picker.navigationBar.topItem.rightBarButtonItem.tintColor = [UIColor blackColor];
我的问题:
我的要求:
【问题讨论】:
-
您在您的应用程序中使用
appearance类别作为UINavigationBar吗?还是其他? -
@Venkatesh:请检查用户提供的答案并投票选出最佳答案。如果您的问题通过使用答案得到解决,也接受某人的答案
-
你找到解决方案了吗
-
如果每个案例都不起作用,请参考这个答案stackoverflow.com/a/50490924/1201274
标签: ios objective-c ios7 uiimagepickercontroller