ios - nstimer not working in background even after enabling Voip in info.plist in xcode 5 -


I am developing a VoIP application but in my app to enable VoIT in info.plist After, when the app goes in the background, all the functions and timers are turned off

To enable VoIP background mode in your info.plist should be the following -

  & lt; Key & gt; UIBackgroundModes & lt; / Key & gt; & Lt; Array & gt; & Lt; String & gt; VoIP & lt; / String & gt; & Lt; / Array & gt;  

But it's easy to fix the right box on the Capabilities tab


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -