我如何以编程方式确定iPhone上的默认铃声? [英] How can I programmatically determine the default ringtone on an iPhone?

查看:222
本文介绍了我如何以编程方式确定iPhone上的默认铃声?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以确定哪些铃声已经在我的应用程序中设置为用户iPhone上的默认铃声?

Is there a way to determine which ringtone has been set as the default one on the user's iPhone from within my application?

如果是这样,怎么办?


/ Users / nikhil .dhamsania / Library / Application Support / iPhone Simulator / User / Media / iTunes_Control / iTunes / ringtones.plist

/Users/nikhil.dhamsania/Library/Application Support/iPhone Simulator/User/Media/iTunes_Control/iTunes/ringtones.plist

ringtones.plist文件存在于模拟器中,我们可以做一些事情,像获取活动铃声在iPhone中的状态?

This is the path where the ringtones.plist file exist in the simulator can we do something like getting the status for active ringtone in the iPhone?

推荐答案

很抱歉,苹果是保守的。你不能以编程方式使用或更改铃声。

Sorry to say that but Apple is damn conservative.You cannot use or change the ringtones available programmatically.

这篇关于我如何以编程方式确定iPhone上的默认铃声?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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