Skip to content

vollkorntomate/ContactPickerSwiftUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContactPickerSwiftUI

This is a small template for imitating the CNContactPickerViewController from UIKit in SwiftUI.

The problem with this exact ViewController is that it doesn't seem to work by using the UIViewControllerRepresentable protocol in SwiftUI. There are a few workarounds, for example as described here. These workarounds work quite ok, but don't provide the best user experience.

Limitations

My solution does currently not support:

  • Searching for contacts
  • Jumping to a specific letter
  • Order of displaying family name / given Name depending on user settings

Contribution

If you would like to contribute, feel free to create a fork and open pull requests.

About

Workaround for a contact picker view in SwiftUI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages