Skip to content
This repository was archived by the owner on May 23, 2022. It is now read-only.
This repository was archived by the owner on May 23, 2022. It is now read-only.

Display touches in a SFSafariViewController #82

@davidgeilfus

Description

@davidgeilfus

Hi, how can I display touches in a SFSafariViewController that is presented programmatically from another view controller? Here is my current code:

let svc = SFSafariViewController(url: NSURL(string: self.urlString)! as URL)
        
svc.delegate = self
present(svc, animated: true, completion: {
    Visualizer.start()
})

I also tried to start the Visualizer within a SFSafariViewControllerDelegate event handler:

func safariViewController(_ controller: SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Bool) {
    Visualizer.start()
}

… But in any case, touches aren't displayed. Any idea why? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions