Sha256: a90c942484cf8144da9a703548b08987bac674f2d614e22ab44d41b5f17e8531

Contents?: true

Size: 401 Bytes

Versions: 8

Compression:

Stored size: 401 Bytes

Contents

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

    def supportedInterfaceOrientations
      visibleViewController.supportedInterfaceOrientations
    end

    def preferredInterfaceOrientationForPresentation
      visibleViewController.preferredInterfaceOrientationForPresentation
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ProMotion-2.0.0 lib/ProMotion/cocoatouch/navigation_controller.rb
ProMotion-2.0.0.rc5 lib/ProMotion/cocoatouch/navigation_controller.rb
ProMotion-2.0.0.rc4 lib/ProMotion/cocoatouch/navigation_controller.rb
ProMotion-2.0.0.rc3 lib/ProMotion/cocoatouch/navigation_controller.rb
ProMotion-2.0.0.rc2 lib/ProMotion/cocoatouch/navigation_controller.rb
ProMotion-2.0.0.rc1 lib/ProMotion/cocoatouch/navigation_controller.rb
ProMotion-1.2.1 lib/ProMotion/cocoatouch/navigation_controller.rb
ProMotion-1.2.0 lib/ProMotion/cocoatouch/navigation_controller.rb