my local notification is working so nicely, there is sound name call Alarm.wav 22 seconds length that I am assigning to local notification like
notificaiton.soundName = @"Alarm.wav";
and my local notification ringing 22 seconds
now my question is , is there any limitation to assigning sound to UILocalNotification with particular length limit
because when I am assigning Alarm.wav 60 seconds length then it's not working
is there any solution ?
Thanks in Advance
If you read the documentation of UILocalNotification
it states that the soundName
property will only play for a maximum of 30 seconds.
Sounds that last longer than 30 seconds are not supported. If you specify a file with a sound that plays over 30 seconds, the default sound is played instead.
you can take this sound file length maximum 30 sec..
more than 30 sec length file not taken by notification.
Sounds that last longer than 30 seconds are not supported...By apple doc..
just take a look at this Apple document
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With