iOS Application Programming Guide by Apple Inc

iOS Application Programming Guide by Apple Inc

Author:Apple Inc.
Language: eng
Format: epub
Publisher: www.apple.com


Implementing a VoIP Application

A Voice over Internet Protocol (VoIP) application allows the user to make phone calls using an Internet connection instead of the device’s cellular service. Such an application needs to maintain a persistent network connection to its associated service so that it can receive incoming calls and other relevant data. Rather than keep VoIP applications awake all the time, the system allows them to be suspended and provides facilities for monitoring their sockets for them. When incoming traffic is detected, the system wakes up the VoIP application and returns control of its sockets to it.

To configure a VoIP application, you must do the following:

Add the UIBackgroundModes key to your application’s Info.plist file. Set the value of this key to an array that includes the voip string.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.