Animate view from different direction
deverstalmage opened this issue · comments
I noticed that in your readme you show an animated .gif of the Safari view sliding in from the bottom, whereas when I call SafariView.show()
the view slides in from the right hand side. Is there a way to configure which direction the view animates in from?
Hey @deverstalmage. I should probably update the gif.
That used to be the default animation. But in 9.2, Apple updated the Controller so that it slides in from the right, which enabled swiping to dismiss.
The module doesn't currently support specifying the entry animation, but I'd encourage you to contribute if it's something you need for your app.
@deverstalmage are you possibly looking for something like this? https://github.com/skycocker/react-native-sfsafariviewcontroller
@deverstalmage Added to version v1.1.0
, thanks to @zachgibson