Permalink
Browse files

Preliminary rotation support. refs #10

  • Loading branch information...
1 parent 250b3e0 commit 74daa8471e2430a6b1e82263b3cb4e2ce5fdeba9 @matej committed May 20, 2013
@@ -35,6 +35,9 @@
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
@@ -84,6 +84,13 @@ - (void)dealloc {
[[self class] updateInstanceCount:-1];
}
+#pragma mark - Layout
+
+- (void)viewDidLayoutSubviews {
+ [super viewDidLayoutSubviews];
+ [self setOpen:self.open animated:YES];
+}
+
#pragma mark - Controllers
- (void)setFrontController:(UIViewController *)frontController {

0 comments on commit 74daa84

Please sign in to comment.