关于iOS 5中UIImagePickerController的api [英] about the api of UIImagePickerController in iOS 5

查看:126
本文介绍了关于iOS 5中UIImagePickerController的api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用我的设计覆盖了 UIImagePickerController ,我设置了showsCameraControls = NO,缩放栏在iOS 4和iOS 5中都不显示,但是功能不同缩放将在iOS 5中工作,我可以使用我的两个手指放大/缩小,但我不想要这个功能,那么我怎么能停止缩放功能?我在iOS 5开发者文件中找不到这个API,所以请帮助我。谢谢

I overlay the UIImagePickerController with my design, and i set the showsCameraControls = NO, the zoom bar will not show both in iOS 4 and iOS 5, but the function of zoom will work in iOS 5, I can use two of my fingers to zoom in/out, but I don't want this function, so how can i stop the zoom function? I can not find this API in iOS 5 developer file, so please help me.thanks

推荐答案

我不确定你的意思'zoom'。

您正在寻找 - [UIImagePickerController allowEditing]?将其设置为NO,即可显示图像。设置为YES,您可以缩放图像,并仅导入图像的该区域。

I am not sure what you mean by 'zoom'.
Are you looking for -[UIImagePickerController allowsEditing]? Set it to NO, and the image simply is shown. Set to YES, and you can 'zoom' into the image, and import only that area of the image.

这篇关于关于iOS 5中UIImagePickerController的api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆