Platforms to show: All Mac Windows Linux Cross-Platform
Back to CNContactPickerViewControllerMBS class.
CNContactPickerViewControllerMBS.isBeingPresented as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Contacts | MBS Mac64bit Plugin | 22.3 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Returns true if the dialog is visible.
(Read only property)
CNContactPickerViewControllerMBS.predicateForEnablingContact as NSPredicateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Contacts | MBS Mac64bit Plugin | 22.3 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
You can set a value for this property to determine which contact should become selectable, such as emailAddresses.@count > 0 to enable all the contacts that have an email address to become selectable. If no predicate is set for this property, all contacts become selectable. To learn about predicate syntax, see NSPredicateMBS.
(Read and Write property)
CNContactPickerViewControllerMBS.predicateForSelectionOfContact as NSPredicateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Contacts | MBS Mac64bit Plugin | 22.3 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This property determines whether a selected contact should be returned (when the predicate evaluates to TRUE), or a default action for the property should be performed (when the predicate evaluates to FALSE). By default the contact picker view controller displays the contact’s detail card when a contact is selected. To learn about predicates, see NSPredicateMBS.
(Read and Write property)
CNContactPickerViewControllerMBS.predicateForSelectionOfProperty as NSPredicateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Contacts | MBS Mac64bit Plugin | 22.3 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This property determines whether a selected contact should be returned (when the predicate evaluates to TRUE), or a default action for the property should be performed (when the predicate evaluates to FALSE). By default the contact picker view controller returns the first selected property of the contact. This predicate is evaluated on the CNContactProperty property that is being selected, such as (key == 'emailAddresses') AND (value LIKE '*@apple.com') to return email address of the contact if the address contains the string “@apple.com”.
(Read and Write property)
The items on this page are in the following plugins: MBS Mac64bit Plugin.