有没有办法隐藏“返回Safari”从iOS9的状态栏? [英] Is there a way to hide "Back to Safari" from status bar in iOS9?

查看:325
本文介绍了有没有办法隐藏“返回Safari”从iOS9的状态栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何隐藏此<以编程方式从状态栏返回Safari?

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

我在我的应用程序中收到它 - 因为如果用户想要使用他们的Facebook帐户登录,我将从我的应用程序中退出。

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.

这是我不喜欢(想要)在我的应用程序中回到Safari的场景。

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


  1. 首次启动应用程序(用户未登录)。

  2. 用户选择使用Facebook登录选项。

  3. Facebook iOS SDK出现在图片中,它将我带到Safari。

  4. 我已登录并返回应用

  5. 但是,有回到Safari......它不应该在这里了。

  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.


推荐答案

不,没有API可以让你这样做。

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

这篇关于有没有办法隐藏“返回Safari”从iOS9的状态栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆