UIKit ContactsAccessButton?

Apple revealed the ContactsAccessButton in the WWDC24 session 10121: Meet the Contact Access Button.

After watching the video, reading through the

as well as the , I can only find a SwiftUI ContactsAccessButton.

However, our code base is written largely in UIKit, and our team prefers to do complex work and customization with lists via UITableView as opposed to SwiftUI List. So we would greatly prefer to use a UIKit ContactAccessButton.

Is there not a UIKit equivalent to ContactsAccessButton? If there is, where can we find it?

Answered by Documentation Engineer in 790724022

Hi, you're correct that ContactAccessButton is a SwiftUI view. You can host it in your UIKit view hierarchy using UIHostingController.

Hi, you're correct that ContactAccessButton is a SwiftUI view. You can host it in your UIKit view hierarchy using UIHostingController.

UIKit ContactsAccessButton?
 
 
Q