UIImagePickerController 预览图是模糊的,为啥
2个回答
展开全部
自己定义一个导航控制器变量myNavitionController
在跳转的时候,把navigationController保存到这个变量来。
-(void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
{
NSLog(@"dddd %@", navigationController.viewControllers);
self.myNavitionController = navigationController;
}
然后在点击图片的时候
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
NSLog(@"灌灌灌灌%@", self.myNavitionController.viewControllers);
[self.myNavitionController pushViewController:filtersViewController animated:NO];
}
ok,完美
在跳转的时候,把navigationController保存到这个变量来。
-(void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
{
NSLog(@"dddd %@", navigationController.viewControllers);
self.myNavitionController = navigationController;
}
然后在点击图片的时候
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
NSLog(@"灌灌灌灌%@", self.myNavitionController.viewControllers);
[self.myNavitionController pushViewController:filtersViewController animated:NO];
}
ok,完美
2017-04-27
展开全部
图片像素多少?命名是@2x还是@3x?你用的什么测试设备(4S还是6 Plus)?最后,image是不是draw到context里的?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询