Platforms to show: All Mac Windows Linux Cross-Platform
/iOS/Photo Picker
Function:
Required plugins for this example: MBS Main Plugin, MBS MacCI Plugin, MBS MacCG Plugin, MBS iOS Plugin, MBS MacCF Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /iOS/Photo Picker
This example is the version from Tue, 31th Oct 2022.
Function:
Required plugins for this example: MBS Main Plugin, MBS MacCI Plugin, MBS MacCG Plugin, MBS iOS Plugin, MBS MacCF Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /iOS/Photo Picker
This example is the version from Tue, 31th Oct 2022.
Project "Photo Picker.xojo_binary_project"
Class App Inherits MobileApplication
End Class
Class PHPickerViewController Inherits PHPickerViewControllerMBS
ComputedProperty ParentScreen As MainScreen
Sub Set()
if value = nil then
mParentScreen = nil
else
mParentScreen = new WeakRef(value)
end if
End Set
Sub Get()
if mParentScreen <> nil then
dim v as Variant = mParentScreen.Value
return v
end if
End Get
End ComputedProperty
EventHandler Sub didFinishPicking(Result() as PHPickerResultMBS)
ParentScreen.PickerFinished result
self.Dismiss
End EventHandler
Property Private mParentScreen As weakRef
End Class
End Project
The items on this page are in the following plugins: MBS iOS Plugin.