module ProMotion
  class NavigationController < UINavigationController
    def shouldAutorotate
      visibleViewController.shouldAutorotate
    end
  end
end

module ProMotion
	class NavigationController < UINavigationController
		def shouldAutorotate
			visibleViewController.shouldAutorotate
		end

		def supportedInterfaceOrientations
			visibleViewController.supportedInterfaceOrientations
		end

		def preferredInterfaceOrientationForPresentation
			visibleViewController.preferredInterfaceOrientationForPresentation
		end
	end
end

Support iOS 6 force rotation.
Support iOS 6 force rotation.
