Post

Replies

Boosts

Views

Activity

Reply to Sheet presented is blank in iOS 14.x (@State variables not setting)
Hi, there Problems might cause because you send a blank items to UIViewController when the controller is being constructed before you really update the items value. My solution is to implement updateUIViewController function and made items to be an observable object. Works for me. @Binding var items : [Any] func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {         uiViewController.viewDidLoad()     }
Jan ’21