mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Fixed compiler flag check for swift (#15654)
This commit is contained in:
parent
f654d1bf30
commit
437ed733f5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue