IOS屏幕方向的判断

设备的方向:

  [UIDevicecurrentDevice].orientation;
 
当前程序的方向:
  [UIApplication sharedApplication].statusBarOrientation;
 
viewController的方向:
 self.interfaceOrientation;
原文地址:https://www.cnblogs.com/417460188dy/p/3362825.html