1. Home
  2. SDK iOS
  3. Advanced
  4. Pause/Resume Camera

Pause/Resume Camera

In most cases BearSDK will handle pause/resume camera automatically. But if you are need very specific behaviour, you can disable automatic camera handling and do it manually.

  • In BearViewCotroller you have to change disableCameraAutoHandling property to true.
  • Manage manually pause/resume camera using BearViewController handler object functions resumeCamera(animated: Bool) and pauseCamera(animated: Bool).
Was this article helpful to you? Yes No

How can we help?