CNContactPickerViewController cannot be represented in SwiftUI

Originator:arturgrigor
Number:rdar://7103187 Date Originated:Aug 22, 2019 at 7:16 PM
Status:Open Resolved:
Product:SwiftUI Framework Product Version:
Classification:Incorrect/Unexpected Behavior Reproducible:
 
`CNContactPickerViewController` cannot be represented in SwiftUI. Whenever I present the `UIViewControllerRepresentable` based view I get an empty (all-white) screen. This happens in Simulator and on the device.

Configuration:
- Xcode Version 11.0 beta 6 (11M392q)
- iOS 13 beta 8

Comments

Workaround

You can workaround this bug by using an extra UIViewController wrapper that just presents the CNContactsPickerViewController.

Still reproducable with Xcode Version 11.3.1 (11C504)

I submitted rdar://7559291


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!