用MotionOrientation替换UIDeviceOrientationDidChangeNotification来判断设备方向。

MotionOrientation Replace UIDeviceOrientationDidChangeNotification,Solve the rotation locked.