UILocalNotification custom sound is not playing in iOS7

前端 未结 9 1631
别那么骄傲
别那么骄傲 2020-12-09 10:00

I\'m using UILocalNotification in an application.

In the application there are two sounds which are played conditionally- I have applied proper conditio

9条回答
  •  猫巷女王i
    2020-12-09 10:23

    If mp3 file is edited with some tool, it is possible that something was missed by edit tool.

    I had similar problem while trying to play mp3 file as local notification sound. Sound was shorter than 30 seconds, it was bundled, everything appears regular on the surface. After few hours i have realised that problem was caused by online mp3 cutter tool. I have find better editor, and file became playable on notification.

提交回复
热议问题