Class: ProMotion::NavigationController

Inherits:
UINavigationController
  • Object
show all
Defined in:
lib/ProMotion/cocoatouch/navigation_controller.rb

Instance Method Summary collapse

Instance Method Details

#preferredInterfaceOrientationForPresentationObject



11
12
13
# File 'lib/ProMotion/cocoatouch/navigation_controller.rb', line 11

def preferredInterfaceOrientationForPresentation
	visibleViewController.preferredInterfaceOrientationForPresentation
end

#shouldAutorotateObject



3
4
5
# File 'lib/ProMotion/cocoatouch/navigation_controller.rb', line 3

def shouldAutorotate
	visibleViewController.shouldAutorotate
end

#supportedInterfaceOrientationsObject



7
8
9
# File 'lib/ProMotion/cocoatouch/navigation_controller.rb', line 7

def supportedInterfaceOrientations
	visibleViewController.supportedInterfaceOrientations
end