开发者

does anybody know the apns messages used for standard things - like beep

Apples me app can make a phone beep or display a message. I assume this is done via APNS talking to ios dire开发者_StackOverflow中文版ctly. Does anybody know what these messages are (Apple doesnt seem to document them)


This is really a server development question... but either case, when using PHP, you just tag a sound key into an array which you pass to an Apple APNS server. Here is the tutorial I used a while ago: APNS tutorial

You'll notice the sound option in the payload array:

$payload['aps'] = array('alert' => 'This is the alert text', 'badge' => 1, 'sound' => 'default');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜