ios - XMPP How can I get the notification or an event when current user get offline? -


i have implemented chatting application using xmpp ios framework openfire server.

i want notification or event when current user disconnect xmpp.

i implement delegate xmppreconnectdelegate & method

- (void)xmppreconnect:(xmppreconnect *)sender diddetectaccidentaldisconnect:(scnetworkreachabilityflags)connectionflags 

but problem is, not called in ios 7.1 & working in ios 8.

is there other method or delegate ?

thank in advance.

following method call when user disconnect xmpp server.

  • (void)xmppstreamdiddisconnect:(xmppstream *)sender witherror:(nserror *)error {

}


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -