meismyles / SwiftWebVC

A drop-in inline browser for your Swift iOS app.
MIT License
330 stars 117 forks source link

Done button not appearing #39

Open fparkar opened 6 years ago

fparkar commented 6 years ago

I am using below code,

let webVC = SwiftWebVC(urlString: "http://google.com") self.navigationController?.pushViewController(webVC, animated: true)

But I don't see Done button on top.

This is the most important part of this lib and its missing.

** You have this functionality in Modal.

lpbas commented 6 years ago

To present the WebVC modally use the following:

let webVC = SwiftModalWebVC(urlString: "http://google.com")
self.present(webVC, animated: true, completion: nil)

and the "Done" button will be there. The pushed WebVC does not have a done button.