Trait objc2_ui_kit::UIDocumentMenuDelegate
source · pub unsafe trait UIDocumentMenuDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn documentMenu_didPickDocumentPicker(
&self,
document_menu: &UIDocumentMenuViewController,
document_picker: &UIDocumentPickerViewController
)
where Self: Sized + Message { ... }
unsafe fn documentMenuWasCancelled(
&self,
document_menu: &UIDocumentMenuViewController
)
where Self: Sized + Message { ... }
}
👎Deprecated: UIDocumentMenuDelegate is deprecated. Use UIDocumentPickerViewController directly.
Available on crate feature
UIDocumentMenuViewController
only.Provided Methods§
unsafe fn documentMenu_didPickDocumentPicker( &self, document_menu: &UIDocumentMenuViewController, document_picker: &UIDocumentPickerViewController )
👎Deprecated: UIDocumentMenuDelegate is deprecated. Use UIDocumentPickerViewController directly.
Available on crate features
UIDocumentPickerViewController
and UIResponder
and UIViewController
only.unsafe fn documentMenuWasCancelled( &self, document_menu: &UIDocumentMenuViewController )
👎Deprecated: UIDocumentMenuDelegate is deprecated. Use UIDocumentPickerViewController directly.
Available on crate features
UIResponder
and UIViewController
only.