An observer to notify the orientation of iOS device changed, using CoreMotion for taking the orientation in 'Orientation Lock'.