Lock screen player's seek bar issue in iOS 7

北城以北 提交于 2019-12-19 02:43:41

问题


If I play music through iPhone's native music player in iOS 7 and access it on lock screen then I can drag the player's seek bar i.e user can interact with it.

Screenshot :

But if I play music from my app which supports background audio play then the player's seek bar user interaction is disabled on lock screen. I am unable to move it.

Screenshot :

I searched apple's documentation but didn't find anything related to this.

My question is, does iOS allow 3rd party apps to interact with player's seek bar on lock screen like native music app or do I have to add some setting for it in my code ?


回答1:


I had the same problem. but as per my findings ,iOS does not allow third party apps to interact with lock screen seek bar. Though, there is no official information about it.



来源:https://stackoverflow.com/questions/20089021/lock-screen-players-seek-bar-issue-in-ios-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!