English 中文(简体)
UIImagePickerController选择的作物和轮值
原标题:Crop and rotate photo selected by UIImagePickerController

我想使用户能够从一个有关SOS装置的照片资料库中挑选一个照片(我假设使用UIImagePickerController是通往Pi/iPod Touch的一条途径),然后用一个冰层来收集选定的照片。 固定功能也是有的。

  1. Is UIImagePickerController a correct way to go as a photo selecting UI
  2. Is there a simple way (ie. provided by framework or 3rd party, free libraries) to implement touch-enabled photo-cropping ui or do I have to do it "by hand"?
  3. How about rotation?
最佳回答
  1. 只要你不需要一度选择多个照片,UIImagePicker就是一个很好的选择。

  2. I d use CoreGraphics for this. Here s some info: http://www.hive05.com/2008/11/crop-an-image-using-the-iphone-sdk/

  3. 核心学科也应当让你轮流担任。 摘录:

    CGContextRotateCTM (bitmap, radians(90));

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签