Skip to content

Instantly share code, notes, and snippets.

@fabiodamasceno
Created March 11, 2020 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabiodamasceno/d3555b7ebd1f3b9028ebcc7ed265c6c4 to your computer and use it in GitHub Desktop.
Save fabiodamasceno/d3555b7ebd1f3b9028ebcc7ed265c6c4 to your computer and use it in GitHub Desktop.
React native orientation to swift
- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
return [Orientation getOrientation];
}
func application(_ application: UIApplication, supportedInterfaceOrientationsForWindow: UIWindow?) -> UIInterfaceOrientationMask {
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment