 <p>You can use the functions in xmppStreamManagement for sending the request and get received id:</p> <pre><code>[xmppStreamManagement requestAck]; </code></pre> <p>and</p> <pre><code>- (void)xmppStreamManagement:(XMPPStreamManagement *)sender wasEnabled:(NSXMLElement *)enabled - (void)xmppStreamManagement:(XMPPStreamManagement *)sender didReceiveAckForStanzaIds:(NSArray *)stanzaIds </code></pre> <p>make sure the stream management is enabled by:</p> <pre><code>[self.xmppStreamManagement enableStreamManagementWithResumption:YES maxTimeout:0]; </code></pre>