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 changedisableCameraAutoHandling
property totrue
. - Manage manually pause/resume camera using
BearViewController
handler
object functionsresumeCamera(animated: Bool)
andpauseCamera(animated: Bool)
.
Commentaires
Vous devez vous connecter pour laisser un commentaire.