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
Post a Comment