user959631
user959631

Reputation: 992

Option to play a notification sound iOS

I wrote an Android application and it had options to choose what system notification sound the user wanted to play for each of the different types of notifications, three in total.

Now I want to write the same application for iOS, but is it possible to do this in iOS, I Googled about this but didn't really find a way on how to do it. Seeing as though iOS 7 is out, have Apple made any changes?

Or is it still restricted, like a million other things?

Upvotes: 0

Views: 1685

Answers (2)

user959631
user959631

Reputation: 992

Ok, I have downloaded the standard iOS 7 alert sounds, and will put them in my bundle, and play them from there. Why does Apple make things so hard?

Upvotes: 0

lalfonso
lalfonso

Reputation: 33

Choose custom sound for local notifications

This link provides the answer. You can find more detail in the apple doc. "In iOS, an application can specify a sound file along with an alert message or badge number.".

Specifically: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/IPhoneOSClientImp.html#//apple_ref/doc/uid/TP40008194-CH103-SW1

Upvotes: 1

Related Questions