Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

应用切换到后台时,长连接如何能不断 #1

Open
ZackKingS opened this issue Sep 6, 2017 · 1 comment
Open

应用切换到后台时,长连接如何能不断 #1

ZackKingS opened this issue Sep 6, 2017 · 1 comment

Comments

@ZackKingS
Copy link

应用切换到后台时,长连接如何能不断

@DamonHu
Copy link
Owner

DamonHu commented Sep 6, 2017

切换到后台常驻后台,需要你申请后台权限,在项目的Capabilities设置里面,有Background Modes,苹果提供了几个可以常驻后台的权限,比如音乐播放,后台刷新等,这样就可以切换到后台,软件照样运行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants