Platforms to show: All Mac Windows Linux Cross-Platform
/Mac64bit/Contacts/CNContactPickerViewController Test
Required plugins for this example: MBS MacBase Plugin, MBS MacCloud Plugin, MBS Mac64bit Plugin, MBS Main Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Mac64bit/Contacts/CNContactPickerViewController Test
This example is the version from Tue, 6th Jun 2022.
Project "CNContactPickerViewController Test.xojo_binary_project"
Class App Inherits MobileApplication
End Class
Class Screen1 Inherits MobileScreen
Control Button1 Inherits MobileButton
ControlInstance Button1 Inherits MobileButton
Constraint Constraint 1
Constraint Constraint 2
Constraint Constraint 3
Constraint Constraint 4
EventHandler Sub Pressed()
picker = New MyCNContactPickerViewControllerMBS
picker.Present
End EventHandler
End Control
Property picker As myCNContactPickerViewControllerMBS
End Class
Class LaunchScreen Inherits iosView
End Class
Class MyCNContactPickerViewControllerMBS Inherits CNContactPickerViewControllerMBS
EventHandler Sub didCancel()
System.DebugLog CurrentMethodName
End EventHandler
EventHandler Sub didSelectContact(contact as CNContactMBS)
System.DebugLog CurrentMethodName
System.DebugLog contact.givenName +" "+contact.familyName
Break // see in debugger
End EventHandler
End Class
End Project
The items on this page are in the following plugins: MBS Mac64bit Plugin.