Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

OnDisappearing not called by screen off

$
0
0

Hello,
I have a problem with the OnDisappearing()-method in the ContentPage. The method will not called if I pressed the powerbutton and the app should be in "sleepmode".
The method will called if I press the back-button. For this event it works.

Do you have the bug also?

protected override void OnDisappearing()
 {
       base.OnAppearing();
       camera.DisableCamera();
 }

Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>