Update .spi.yml Removed platform restriction in SPI yaml
Update .spi.yml
Removed platform restriction in SPI yaml
SwiftUI wrapper of ContactsUI‘s CNContactPickerViewController. Eventually, I’ll add the rest of the framework.
SwiftUI
CNContactViewController
CNContactPicker
Documentation for SwiftUIContacts is hosted on Swift Package Index.
SwiftUIContacts
ContactPicker supports four different selection modes and the mode is decided by which init you use:
ContactPicker
init
@Binding
CNContact?
[CNContact]
CNContactProperty?
[CNContactProperty]
.sheet(isPresented: $showSheet) { ContactPicker(selection: $selectedProperty, displayedPropertyKeys: [.phoneNumbersKey] ) }
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
SwiftUIContacts
SwiftUIwrapper of ContactsUI‘s CNContactPickerViewController. Eventually, I’ll add the rest of the framework.To-Do’s
CNContactViewController‘s usage on macOS, andCNContactPicker).Documentation
Documentation for
SwiftUIContactsis hosted on Swift Package Index.ContactPicker
ContactPickersupports four different selection modes and the mode is decided by whichinityou use:@Bindingof typeCNContact?in theinit@Bindingof type[CNContact]in theinit@Bindingof typeCNContactProperty?in theinit@Bindingof type[CNContactProperty]in theinit