很想知道 iPhone 锁屏动态壁纸的技巧
此应用程序和此应用程序说它在锁定屏幕上显示动态壁纸。我们有类似的要求。
从评论中得知,它正在以静音音量播放背景音乐,但与设置壁纸无关。
对我们来说完全是无赖的话题。任何人都可以建议从哪里开始吗?
引用了此和提到了这个在我们的论坛上提问,但表示不会得到苹果的批准。那么当前的应用程序如何存在于商店中呢?
注意: 请将此视为真正的编程问题,因为我们无法找到起点。
This application and this application says it displays live wallpapers on lock screen. We have similar requirement.
From reviews came to know that it is playing music in background with silent volume, but it is not relevant to setting wallpapers.
Totally bummer topic for us. Can anyone please suggest some point where to begin.. ?
Referred this and Referred this questions on our forum, but says that it won't be approved by Apple. So how does current application exist on store ?
Note:
Please consider this as genuine programming questions as there is no starting point we can find.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您播放音乐,可以使用 MPNowPlayingInfoCenter < /a> (适用于 iOS 5.0 及更高版本。)在锁定屏幕上设置封面、标题和艺术家等内容。您的代码可能如下所示:
不要忘记导入媒体播放器框架:
If you play music, you can use MPNowPlayingInfoCenter (Available in iOS 5.0 and later.) to set things like cover art, title and artist on the lock screen. Your code could look like this:
Dont forget to import the media player framework:
实时锁屏应用程序必须这样做(MPNowPlayingInfoCenter),因为您在使用该应用程序时无法播放音乐
The live lockscreen app must be doing it this way (MPNowPlayingInfoCenter) as you cant play music whilst using the app