IPhone : How To Set UILocalNotification Soundname in Swift

on Sunday, March 29, 2015

We are making an alarm clock app and want to have our UILocalNotification sound be an alarm noise. Currently we can only get the UILocalNotificationDefaultSound to work for us.


We are trying to do something like this:



localNotification.soundName = "iphonesongw.wav"


Where iphonesongw.wav is in our project.


0 comments:

Post a Comment