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).

https://developer.apple.com/library/ios/documentation/uikit/reference/uiimagepickercontrollerdelegate_protocol/index.html#//apple_ref/doc/constant_group/editing_information_keys


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -