Skip to content

Instantly share code, notes, and snippets.

@joaquin-viera

joaquin-viera/AppDelegate.m Secret

Created Jan 8, 2021
Embed
What would you like to do?
Landscape Orientation - AppDelegate.m
+#import "Orientation.h"
@implementation AppDelegate
// ...
+- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
+ return [Orientation getOrientation];
+}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment