Skip to content

Commit

Permalink
Readme fix for iOS setup (yamill#261)
Browse files Browse the repository at this point in the history
* README to have correct way to setup iOS
stoneman1 authored Jan 5, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent e69eacb commit b45830c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -82,13 +82,10 @@ Add the following to your project's `AppDelegate.m`:
// ...
- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
while ([[UIDevice currentDevice] isGeneratingDeviceOrientationNotifications]) {
[[UIDevice currentDevice] endGeneratingDeviceOrientationNotifications];
}
- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
return [Orientation getOrientation];
}
return [Orientation getOrientation];
}
@end
```

0 comments on commit b45830c

Please sign in to comment.