Search code examples
iosswiftuiwebviewpopupstoryboard

Opening link in popup-webview like Twitter


Twitter opens links in a sort of in-app browser which jumps from the bottom into fullscreen mode, see the following screenshot:

enter image description here

How can I get something like this in my own app? I dont know how this is called so my current google results are not resolving my question. I am not sure if this is a webview or safari extension use or something else.

I also wonder how to implement this in xcode-storyboard. Should I create a new viewcontroller which jumps to the front with a fullscreen webview? I hope someone can give me an example or website with a tutorial/explaination.

[Preferably examples in swift, I don't know a lot about Objective_C]


Solution

  • This is a modal presentation of a ViewController containing a web-view.