這裏我使用下面的代碼。如果有人知道這個問題,請幫助我。 ,我也試過下面的網址,但它不工作。請幫我在UIImagePickerController取消按鈕不顯示?
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'在你的應用程序?還是其他? – orkenstein 2015-02-10 11:47:29
@Venkatesh:請檢查用戶提供的答案並投票選出最佳答案。也接受一些人的答案,如果你的問題得到解決通過使用的答案 – 2017-10-13 07:18:46
你設法找到這個解決方案 – 2018-02-19 07:21:16