An iPhone app, connecting to a remote server via TCP. The use scenarios are:
1.Create your socket with VOIP property like this
[inputStream setProperty:NSStreamNetworkServiceTypeVoIP forKey:NSStreamNetworkServiceType] ;
[outputStream setProperty:NSStreamNetworkServiceTypeVoIP forKey:NSStreamNetworkServiceType] ;
2.Add required background mode as "App provides Voice over IP services" in app.plist
If your application in background mode the voip socket will not close. Using this socket with uilocal notification you can get.
"If your application is not an original voip application app store will reject"