SFSafariViewController & autofill

I think i am missing something in my execution of SFSafariViewController. Autofill is not working. I don't even get prompted for passworrd. Here is how I invoke SFSafariViewController;


let cfg = SFSafariViewController.Configuration.init()
cfg.entersReaderIfAvailable = true
cfg.barCollapsingEnabled = true
let vc = SFSafariViewController(url: URL.init(string: uri)!, configuration: cfg)
vc.dismissButtonStyle = .close
vc.delegate = self;
vc.preferredBarTintColor = Constants.MainThemeColor
vc.preferredControlTintColor = .white
self.present(vc, animated: true, completion: nil)


However, there is no attempt to save or autofill by SFSafariViewController. Any idea what I could be doing wrong?


Thanks!