You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After moving to another pages the green dot indicating the camera still on does not disappear even after calling StopCameraAsync. I tried following code but it did not work. StopCameraAsync returns Success, but green dot continues to display. Newer models of IPhones light next the front camera that I use, also continues to light and it does not turn off.
I guess this comes from the fact, that MAUI does not call DisconnectHandler automatically when a page (and all its UI elements) is no longer used. I created this helper class which automatically disconnects handlers once the page is navigated away: HandlerCleanUpHelper.cs
Someone who maintains Camera.MAUI would have to take something like that into consideration. MAUI will probably not solve the problem for us...
Hi,
After moving to another pages the green dot indicating the camera still on does not disappear even after calling StopCameraAsync. I tried following code but it did not work. StopCameraAsync returns Success, but green dot continues to display. Newer models of IPhones light next the front camera that I use, also continues to light and it does not turn off.
Thanks for any help,
The text was updated successfully, but these errors were encountered: