I applied a chat application using the XMPP iOS Framework with an OpenFire server.
I just need to get a notification or event when the current user disconnects from XMPP.
I implement the XMPPReconnectDelegate delegate and method
- (void)xmppReconnect:(XMPPReconnect *)sender didDetectAccidentalDisconnect:(SCNetworkReachabilityFlags)connectionFlags
But the problem is that it is not called in iOS 7.1 and works in iOS 8.
Is there any other method or delegate?
Thanks in advance.
source share