mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
Fixed compiler flag check for swift (#15654)
This commit is contained in:
parent
f654d1bf30
commit
437ed733f5
@ -50,7 +50,7 @@ extension CocoaView: HelperBarActionDelegate {
|
||||
}
|
||||
|
||||
func orientationLockButtonTapped() {
|
||||
#if TARGET_OS_IOS
|
||||
#if os(iOS)
|
||||
shouldLockCurrentInterfaceOrientation.toggle()
|
||||
if shouldLockCurrentInterfaceOrientation {
|
||||
let currentOrientation = UIApplication.shared.windows.first?.windowScene?.interfaceOrientation ?? UIInterfaceOrientation.portrait
|
||||
|
Loading…
Reference in New Issue
Block a user