Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
空き状況に関係なく、他のクライアントにすぐにプッシュを送信したいと考えています。ただし、shouldSendPushNotificationsデリゲート メソッドは、呼び出しが初期化されてから 4 秒後にしか呼び出されません。それ自体pushPayloadから呼び出しのにアクセスする方法はありますか?SINCall
shouldSendPushNotifications
pushPayload
SINCall
setSupportActiveConnectionInBackground:NO を設定し、startListeningActiveConnecton を設定しないでください。常に pushPayload があります。アクティブなユーザー数を減らしたい場合は、これが推奨される方法です。