pub unsafe trait UIImagePickerControllerDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn imagePickerController_didFinishPickingImage_editingInfo(
&self,
picker: &UIImagePickerController,
image: &UIImage,
editing_info: Option<&NSDictionary<UIImagePickerControllerInfoKey, AnyObject>>,
)
where Self: Sized + Message { ... }
unsafe fn imagePickerController_didFinishPickingMediaWithInfo(
&self,
picker: &UIImagePickerController,
info: &NSDictionary<UIImagePickerControllerInfoKey, AnyObject>,
)
where Self: Sized + Message { ... }
fn imagePickerControllerDidCancel(&self, picker: &UIImagePickerController)
where Self: Sized + Message { ... }
}Available on crate feature
UIImagePickerController only.Expand description
Provided Methods§
Sourceunsafe fn imagePickerController_didFinishPickingImage_editingInfo(
&self,
picker: &UIImagePickerController,
image: &UIImage,
editing_info: Option<&NSDictionary<UIImagePickerControllerInfoKey, AnyObject>>,
)
👎DeprecatedAvailable on crate features UIImage and UINavigationController and UIResponder and UIViewController only.
unsafe fn imagePickerController_didFinishPickingImage_editingInfo( &self, picker: &UIImagePickerController, image: &UIImage, editing_info: Option<&NSDictionary<UIImagePickerControllerInfoKey, AnyObject>>, )
UIImage and UINavigationController and UIResponder and UIViewController only.§Safety
editing_info generic should be of the correct type.
Sourceunsafe fn imagePickerController_didFinishPickingMediaWithInfo(
&self,
picker: &UIImagePickerController,
info: &NSDictionary<UIImagePickerControllerInfoKey, AnyObject>,
)
Available on crate features UINavigationController and UIResponder and UIViewController only.
unsafe fn imagePickerController_didFinishPickingMediaWithInfo( &self, picker: &UIImagePickerController, info: &NSDictionary<UIImagePickerControllerInfoKey, AnyObject>, )
UINavigationController and UIResponder and UIViewController only.§Safety
info generic should be of the correct type.
fn imagePickerControllerDidCancel(&self, picker: &UIImagePickerController)
Available on crate features
UINavigationController and UIResponder and UIViewController only.