~/talk

The complicated life of a backgrounded iOS app

Talkat 360iDev 2018 · 2018-08-26..08-29· [testing]
slides:none on file

Background transfer uses URLSession background configuration handed to a daemon so files download outside the app process, which requires moving off completion handlers to delegate callbacks, persisting session identifiers and the completion handler, and batching work to avoid the exponential backoff of the resume rate limiter. Silent push gives ~30 second work windows but can be throttled or turned off. Custom auth callbacks break background auth so prefer short-lived server tokens instead of certificate pinning. Debug with Console and nsurlsessiond logs plus DSD traces; watch APNs device‑token environment mismatches.

AI-written summary · about

  1. 0:00Intro
  2. 3:43App states
  3. 5:02URL Session API
  4. 7:11Surprises
  5. 8:59isDiscretionary
  6. 11:20Silent push
  7. 13:41What counts?
  8. 14:42Client trust validation
  9. 16:09Certificate pinning A
  10. 18:20Authentication challenges A
  11. 18:57Custom authentication scheme
  12. 20:39nsurlsessiond
  13. 22:29No custom authentication challenge
  14. 24:24How to make the rate limiter happy?
  15. 29:44Console app
  16. 35:33Why Must Not Proceed?
  17. 36:49Tips for implementing background transfer
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.