ios - 如何给 UIImagePickerController 中的标题?

标签 ios iphone uiimagepickercontroller

I want to title in image crop view  i want to give title in <code>UIImagePickerController</code> like following image screen shot.

我想在 UIImagePickerController 中给出标题,如图像屏幕截图所示

最佳答案

UIImagePickerController delegate 设置为self 并实现UINavigationControllerDelegate 的以下方法:

- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
{
    [viewController.navigationItem setTitle:@"<Your-Title>"];
}

关于ios - 如何给 UIImagePickerController 中的标题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30295348/

相关文章:

iphone - UIImagePickerController 与相机源允许编辑是 : video trimming doesn't work

HTML 视频无法在苹果设备(Chrome/Safari/等)上运行

ios - 根据条件 Swift 获取模型对象的特定属性数组

ios - Objective C 中的 RSA 实现

iphone - 应用程序根据 App Store 规则与 iOS 中的远程服务器通信

iphone - UIImagePickerController 错误

iOS UIDatePicker 未显示在 UIActionSheet 中

ios - 在 Objective-C 中,什么时候为属性声明原子性?

iphone - 在后台加载UIImagePickerController

iphone - iOS 相机自定义 : How to implement Grid Lines?