UIDeviceOrientationIsLandscape problem

Hello

Why this show “unknown identifier”?

UIDeviceOrientationIsLandscape(UIDevice.currentDevice().orientation)

UIDeviceOrientationIsLandscape is declared in __Globals

b.r.