Wie kann ich überprüfen, ob die Ausrichtung des Geräts links oder rechts im Querformat ist?
if UIDeviceOrientationIsLandscape(UIDevice.currentDevice().orientation) {
print("landscape")
}
if UIDeviceOrientationIsPortrait(UIDevice.currentDevice().orientation){
print("portrait")
}
Wie kann ich überprüfen, ob es links oder rechts ist?