lscexpress
V2EX  ›  iOS

关于 ios apns 推送的一个小问题,小弟在这里请教一下各位大佬

  •  
  •   lscexpress · Aug 10, 2020 · 2642 views
    This topic created in 2104 days ago, the information mentioned may be changed or developed.

    有做过 ios 推送的服务端老哥吗,问个问题。apns 推送的时候,不要 devicetoken 是不是就是群推效果了。

    3 replies    2020-08-10 13:36:55 +08:00
    kera0a
        1
    kera0a  
       Aug 10, 2020 via iPhone
    不是的,iOS 不能对用户广播。
    你要群推的话就需要指定群推所需的所有的 deviceToken
    sioncheng
        2
    sioncheng  
       Aug 10, 2020
    apns 只能一对一的推送,一次一条
    lscexpress
        3
    lscexpress  
    OP
       Aug 10, 2020
    @sioncheng
    @kera0a

    谢谢大佬
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2634 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 15:49 · PVG 23:49 · LAX 08:49 · JFK 11:49
    ♥ Do have faith in what you're doing.