Skip to content

Commit c7b7d3b

Browse files
author
Jill Cardamon
committed
Remove print statements.
1 parent 3ec0e3f commit c7b7d3b

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
@@ -585,8 +585,6 @@ extension MapboxNavigationService: CLLocationManagerDelegate {
585585
public func locationManager(_ manager: CLLocationManager, didUpdateHeading newHeading: CLHeading) {
586586
// Check if device orientation has changed and inform the location provider accordingly.
587587
updateHeadingForCurrentDeviceOrientation()
588-
print("!!! device orientation: \(UIDevice.current.orientation)")
589-
updateHeadingForCurrentDeviceOrientation()
590588
router.locationManager?(manager, didUpdateHeading: newHeading)
591589
}
592590

Sources/MapboxNavigation/NavigationViewController.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ open class NavigationViewController: UIViewController, NavigationStatusPresenter
5050
navigationMapView.navigationCamera.viewportDataSource = NavigationViewportDataSource(navigationMapView.mapView,
5151
viewportDataSourceType: .active)
5252
navigationMapView.navigationCamera.follow()
53-
54-
let viewportDataSource = navigationMapView.navigationCamera.viewportDataSource as? NavigationViewportDataSource
55-
print("!!! orientation: \(navigationService.locationManager.headingOrientation)")
56-
// print("!!! device orientation: \(UIDevice.current.orientation)")
57-
// if navigationService.locationManager.headingOrientation == .landscapeLeft {
58-
// print("!!! landscape left")
59-
// } else if navigationService.locationManager.headingOrientation == .landscapeRight {
60-
// print("!!! landscape right")
61-
// }
6253
}
6354

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

0 commit comments

Comments
 (0)