Search code examples
iosmobile-safariios9uistatusbarapplinks

Is there a way to hide "Back to Safari" from status bar in iOS9?


How to hide this < Back to Safari from status bar programmatically?

enter image description here

I'm getting it in my app – as I'm going out from my app if a user wants to login with their Facebook account.

Here's the scenario for which I don't like (want) "Back to Safari" in my app.

  1. At first launch of the app (and user not logged in).
  2. User choose Login with Facebook option.
  3. Facebook iOS SDK comes into the picture, it takes me to the Safari.
  4. I logged in and back to the app
  5. But, there's "Back to Safari"... It shouldn't be here anymore.

Solution

  • No, there is no API that lets you do this.