在iOS 7中锁定屏幕播放器的搜索栏问题 [英] Lock screen player's seek bar issue in iOS 7

查看:181
本文介绍了在iOS 7中锁定屏幕播放器的搜索栏问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我通过iOS 7中的iPhone原生音乐播放器播放音乐并在锁定屏幕上播放,那么我可以拖动播放器的搜索栏,即用户可以与其进行互动。

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.

截图:

但是,如果我从支持背景音频播放的应用播放音乐,则在锁定屏幕上禁用播放器的搜索栏用户交互。我无法移动它。

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.

屏幕截图:

我搜索了苹果的文档,但没有找到与此相关的任何内容。

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

我的问题是,iOS允许第三方应用与锁定屏幕上的播放器搜索栏进行交互,就像本机音乐应用程序一样,还是我必须在我的代码中为它添加一些设置?

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 ?

推荐答案

我遇到了同样的问题。但根据我的发现,iOS不允许第三方应用程序与锁屏搜索栏进行交互。但是,没有关于它的官方信息。

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.

这篇关于在iOS 7中锁定屏幕播放器的搜索栏问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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