Sha256: 1f6d3a3850beab3340b401ddd48f71389cb69187133023d3bcb201e5cdcc948f
Contents?: true
Size: 591 Bytes
Versions: 10
Compression:
Stored size: 591 Bytes
Contents
module ProMotion class NavigationController < UINavigationController def popViewControllerAnimated(animated) super self.viewControllers.last.send(:on_back) if self.viewControllers.last.respond_to?(:on_back) end def shouldAutorotate visibleViewController.shouldAutorotate if visibleViewController end def supportedInterfaceOrientations visibleViewController.supportedInterfaceOrientations end def preferredInterfaceOrientationForPresentation visibleViewController.preferredInterfaceOrientationForPresentation end end end
Version data entries
10 entries across 10 versions & 1 rubygems