【发布时间】:2013-12-04 00:44:15
【问题描述】:
我有一个应用程序可以将照片附加到NSAttributedString 中的textView。 UI 设计有一个带有白色文本的蓝灰色导航栏。
但是,在我使用UIImagePicker 之后,NavigationController 的色调变为黑色文本。
- (void)showImagePickerForSourceType:(UIImagePickerControllerSourceType)sourceType
{
_imagePickerController = [[UIImagePickerController alloc] init];
_imagePickerController.modalPresentationStyle = UIModalPresentationCurrentContext;
_imagePickerController.sourceType = sourceType;
_imagePickerController.delegate = self;
if (sourceType == UIImagePickerControllerSourceTypeCamera)
{
_imagePickerController.showsCameraControls = YES;
}
[self presentViewController:_imagePickerController animated:YES completion:nil];
}
我会在启动 UIImagePicker 之前发布视图的图像,但我没有足够的声望点(而且我也不知道如何获得它们)。
我会在启动图像选择器并选择一个并从 UIImagePicker 返回后发布图像,但同样,声望点不够。
任何人有任何想法,如果这是“正常”或错误离子 iOS?有关解决方法的任何建议?
附:如果你想看图片,我可以email给你。任何建议表示赞赏。
【问题讨论】:
标签: ios uinavigationbar