protected override async void OnNavigatedFrom(NavigationEventArgs e) { base.OnNavigatedFrom(e); DisplayInformation.AutoRotationPreferences = DisplayOrientations.None; await _viewModel.UnloadCamera(); }