programmer group

Record the pit encountered in the first integrated ios push

testing environment OSX Certificate generation There are many tutorials in this part. There are basically no holes. I just skipped them Try to connect function send(){ $deviceToken = 'xx='; $ctx = stream_context_create(); // ck.pem is your certificate file stream_context_set_option($ctx, 'ssl', 'local_cert', '/cert/push.pem'); stream_context_set_option($ctx, 'ssl', 'passphrase',...