Skip to content

Commit f85d77b

Browse files
author
Jill Cardamon
committed
Remove print statements.
1 parent 062bbe3 commit f85d77b

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

Sources/MapboxCoreNavigation/NavigationService.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,6 @@ extension MapboxNavigationService: CLLocationManagerDelegate {
613613
public func locationManager(_ manager: CLLocationManager, didUpdateHeading newHeading: CLHeading) {
614614
// Check if device orientation has changed and inform the location provider accordingly.
615615
updateHeadingForCurrentDeviceOrientation()
616-
print("!!! device orientation: \(UIDevice.current.orientation)")
617-
updateHeadingForCurrentDeviceOrientation()
618616
router.locationManager?(manager, didUpdateHeading: newHeading)
619617
}
620618

Sources/MapboxNavigation/NavigationViewController.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,6 @@ open class NavigationViewController: UIViewController, NavigationStatusPresenter
7474
navigationMapView.navigationCamera.viewportDataSource = NavigationViewportDataSource(navigationMapView.mapView,
7575
viewportDataSourceType: .active)
7676
navigationMapView.navigationCamera.follow()
77-
78-
let viewportDataSource = navigationMapView.navigationCamera.viewportDataSource as? NavigationViewportDataSource
79-
print("!!! orientation: \(navigationService.locationManager.headingOrientation)")
80-
// print("!!! device orientation: \(UIDevice.current.orientation)")
81-
// if navigationService.locationManager.headingOrientation == .landscapeLeft {
82-
// print("!!! landscape left")
83-
// } else if navigationService.locationManager.headingOrientation == .landscapeRight {
84-
// print("!!! landscape right")
85-
// }
8677
}
8778

8879
// In case if `NavigationMapView` instance was injected - do not set initial camera options.

0 commit comments

Comments
 (0)