开发者

What is the practical data size limit for GKSession sendData:toPeers:withDataMode:error:?

开发者 https://www.devze.com 2023-01-27 16:14 出处:网络
At what point should I break up an NSData obje开发者_运维技巧ct into multiple objects, or use a third party data source to send data between GKSession bluetooth peers?Found it in the GameCenter overvi

At what point should I break up an NSData obje开发者_运维技巧ct into multiple objects, or use a third party data source to send data between GKSession bluetooth peers?


Found it in the GameCenter overview docs. (Not sure why they don't put this right in the method docs, but oh well).

The recommendation is to keep it < 1000 bytes, with a limit of 86K.

0

精彩评论

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