访问内置的iOS闹钟的声音在我的应用程序 [英] Access built-in iOS alarm clock sound in my app

查看:147
本文介绍了访问内置的iOS闹钟的声音在我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立一个倒数计时器的应用程序,并想知道如果我可以在内置的时钟应用程序,还是我要创造我自己的声音片段?

I'm building a countdown timer app, and wondering if I can access the list of sound clips in the built-in clock app, or do I have to create my own sound clip?

推荐答案

您的应用程序在沙盒环境中运行,因此访问该沙箱以外的任何事情是不可能的。您需要在您的应用程序包你自己的声音和访问他们的方式。

Your app runs in a sandboxed environment, so accessing anything outside that sandbox is not possible. You will need to include your own sounds in your application bundle and access them that way.

这篇关于访问内置的iOS闹钟的声音在我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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