gpt4 book ai didi

ios - ios 11 中通知负载的大小是多少?

转载 作者:行者123 更新时间:2023-11-28 19:29:31 31 4
gpt4 key购买 nike

任何人都可以告诉我 ios 11 中有效负载的大小。对于 ios 8,我知道它是 2KB 但对于 ios 11,我不知道它是否已更改或与 ios 8 保持不变?请告诉我。谢谢

最佳答案

来自 Apple Developer :

The maximum size of the payload depends on the notification you are sending:

  • For regular remote notifications, the maximum size is 4KB (4096 bytes)

  • For Voice over Internet Protocol (VoIP) notifications, the maximum size is 5KB (5120 bytes)

Note: If you are using the legacy APNs binary interface to send notifications instead of an HTTP/2 request, the maximum payload size is 2KB (2048 bytes)

关于ios - ios 11 中通知负载的大小是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47226409/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com