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.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIImagePickerControllerDelegate
Source§impl ProtocolType for dyn UIImagePickerControllerDelegate
impl ProtocolType for dyn UIImagePickerControllerDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".