我如何使用“MPMusicPlayerController"?从我的网站在我的 Iphone 应用程序中播放列表 [英] How can i use "MPMusicPlayerController" to playlist from my website in my Iphone app

查看:50
本文介绍了我如何使用“MPMusicPlayerController"?从我的网站在我的 Iphone 应用程序中播放列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个开始,所以我希望用简单的方式解释我.

i'm a beginning so i hope to explain me in easy way.

如何使用 MPMusicPlayerController 在我的 iPhone 应用程序中播放声音列表.

how can i use MPMusicPlayerController to play sound list in my iPhone app.

如果我的网站上有很多 mp3 文件,如何自动播放这些文件?

if i have many mp3 files in my website how can play these files automatically ?

我的意思是当我的应用程序打开时自动启动 1.mp3,当它完成时 2.mp3 自动启动?

i mean when open my app auto start 1.mp3 and when it finish 2.mp3 start automatically ?

非常感谢:)

推荐答案

这对于 MPMusicPlayerController 是不可能的,因为该类只能播放用户 iPod 库中的音乐.来自文档:

This is not possible with MPMusicPlayerController as that class can only play music from the user's iPod library. From the docs:

您使用 MPMusicPlayerController 对象或音乐播放器来播放 iPod 库中的媒体项目.

You use an MPMusicPlayerController object, or music player, to play media items from the iPod library.

这篇关于我如何使用“MPMusicPlayerController"?从我的网站在我的 Iphone 应用程序中播放列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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