I can’t get the iPhone to play a 2 seconds long mp3 sound on notifications. I’ve tried with a 7 seconds long mp3 file and that works well. As far as I know there shouldn’t be any restrictions on the minimum length of a notification sound.
The mp3 sounds are added to the project in the same way, so that shouldn’t be the problem.
Is there any restrictions on mp3 files for UILocalNotification, which I should know about?
Convert your
mp3tocafformat as explained here, that should help.