I created a chat application using XMPP framework..when I quit the app(enter background mode) I want to receive the chat message..and also need to display the icon badge...H
In the latest XMPP Framework you don't need to modify framework files.
Just do this: 1. Add this to your connect method
#if !TARGET_IPHONE_SIMULATOR { self.xmppStream.enableBackgroundingOnSocket = YES; } #endif
2. Add voip key to your info plist file: