ios - Is it possible to get a reference to a UIImage when capturing an image with UIImagePicker -
right use following save picture photos album
-(void)shootpicture{ [self.pickercontroller takepicture]; }
but want able reference uiimage rather save camera roll. there way achieve in ios?
you can set uiimagepickercontrollerdelegate
, listen imagepickercontroller(_:didfinishpickingmediawithinfo:)
dictionary , uiimage
using key uiimagepickercontrollereditedimage
(or originalimage).
Comments
Post a Comment