Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
325 views
in Technique[技术] by (71.8m points)

ios - 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.
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...