Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is an old thread, but may warrant an update.</p> <p>As of iOS 6, this is the behavior I am seeing with the VoIP timer background methods as discussed in this thread:</p> <ul> <li>The VoIP BackgroundMode is still strictly banned from AppStore apps via the App Review Process</li> <li>The minimum KeepAlive time is 600 seconds; anything less than that will cause the handler to fail to install (and a warning is sent to NSLog)</li> <li>Setting the keepAlive time to something significantly larger than 600 seconds will typically result in the handler being fired with a frequency of every <strong>time/2</strong> interval. Bonus fact: This is consistent with the SIP REGISTER request, in which the recommended re-registration interval is .5*re-register time.</li> <li>When your keepAlive handler is called, I have observed the following: <ul> <li>You get about <strong>10 seconds</strong> of "foreground" execution time, in which remaining background time is infinite (as returned by <strong>backgroundTimeRemaining</strong>)</li> <li>If you kicked off a <strong>beginBackgroundTask</strong> from within the keepAlive handler, I have observed that you get <strong>60 seconds</strong> of background execution time (as returned by <strong>backgroundTimeRemaining</strong>). <em>This is different than the <strong>600 seconds</strong> you get when the user transitions from your app being active to backgrounded.</em> I have not found any way to extend this time (without using other trick like location etc.)</li> </ul></li> </ul> <p>Hope that helps!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload