SHARE
TWEET

Untitled

a guest Mar 6th, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class NavController: UINavigationController {
  2.  
  3.   override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
  4.     if visibleViewController != nil {
  5.       return visibleViewController!.supportedInterfaceOrientations
  6.     }
  7.     return .portrait
  8.   }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top