A drop-in UIViewController subclass that automatically manages switching between different view layouts for portrait and landscape orientations.

Official TPMultiLayoutViewController repository
Blog post about TPMultiLayoutViewController