ios - Taking a front camera shot from a backgrounded app -


i'm trying capture front camera shot when app in background. capturestillimageasynchronouslyfromconnection:completionhandler: works fine when app in foreground, fails when app in background. can do?

this not allowed in ios. check apple guidelines ios app programming guide. section "declaring app’s supported background tasks".

you can see section using camera not supported in background state.

special tasks supported in background include:

  • audio processing/playing
  • location services
  • voip
  • newstand-content
  • external-accessory
  • bluetooth.

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -