is used to take care of the consumer’s movements, together with affirmation and cancelation of media variety. There are most effective two callbacks of
This is the callback when consumer has simply decided on or captured a media (after optionally enhancing the document).
information accommodates the entire knowledge of the chosen document and
mediaType can be utilized to tell apart whether or not symbol or video document is selected. Different decided on recordsdata go back other data.
Original symbol and edited symbol may also be retrieved again via the important thing
editedImage. Edited video URL may also be retrieved via
This callback is induced when the cancel button is pressed in both the media variety mode or seize mode.
In each callbacks of
, it’s developer’s duty to push aside the
UIImagePickerControllerwhen consumer confirms or cancel the choice.