fix rotated
This commit is contained in:
1 parent
6d7e1a010b
commit
ad9dfd7f5a
2 files changed
+13
-11
No files matched your search
@@ -108,6 +108,10 @@ class MapsViewController: StoryboardController, MapsContainerControllerDelegate,
|
||||
// MARK: - Rotation Callback
|
||||
|
||||
@objc func rotated() {
|
||||
|
||||
let orint = UIDevice.current.orientation
|
||||
if orint == .faceUp || orint == .faceDown || orint == .portraitUpsideDown { return }
|
||||
|
||||
updateMapViewTopPadding()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user