문제

Is it possible to use a UILocalNotification (or any outside notification/long-term multitasking) to play a sound outside an app that's NOT in the main application bundle? Documentation for UILocalNotification says the soundName attribute must be the name of a file in the main bundle. I threw together a quick app that confirms this.

Is there a way to get around this restriction? I was thinking something with aliases, where the alias is in the app bundle and points to a known path in the Documents folder... but I guess the Documents folder isn't exactly known.

Any ideas?

도움이 되었습니까?

해결책

Not in a sandboxed environment, its not possible.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top