This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// This module contains useful extensions to the base | |
/// navigation controllers in respect to managing orientation, | |
/// as well as adding missing functionality to the sdk types. | |
import Foundation | |
func currentOrientation() -> UIInterfaceOrientation { | |
return UIApplication.shared.statusBarOrientation | |
} |