ios - when i add a sound file into xcode and played it using uilocalization, it won't work. -


i dragged "alarm.caf" file project,and used

notification.soundname = @"alarm.caf"; 

to make play.

however, won't make sounds in simulator. @ same time, tried app (which has same function), , goes well. don't understand @ all. tried .m4a can't figure problem. knows it?

by way, want know whether uilocalnotification can showed in pop-up style?

yeah fixed first problem. download ios-6.1 simulator , played sound perfectly. thought have no idea why doesn't work on ios-7 simulator.

problem 2 still hanging.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -