How to handle Split View Screen Display in left and right pane based on Multitasking in iPad devices and How to identify the device rotation?

How to handle Split View Screen Display in left and right pane based on Multitasking in iPad devices and How to identify the device is rotated in viewWillTransitionToSize method because it always returns same size before and after rotation? Advance Thanks for any Help