ContactAccessButton and contactAccessPicker in UIKit

Hi, I am looking at the ContactAccessButton and contactAccessPicker functionality that's new in iOS18. I had a couple of questions about this:

  • is this available through UIKit as well as SwiftUI, or is it a SwiftUI-only feature?
  • is it going to be available on the Mac as well as iOS?

Thanks.

ContactAccessButton is a SwiftUI view. You can host it in your UIKit view hierarchy using UIHostingController. It is available on iOS 18+, iPadOS 18+, and Mac Catalyst 13+.

Interested in this as well. What about the contactAccessPicker? is this available via UIKit, and am I able to use it without SwiftUI?

If not, what would be the best way to implement the new contact access feature without relying on SwiftUI?

ContactAccessButton and contactAccessPicker in UIKit
 
 
Q