summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/ipjsua/Classes/TabBarController.m
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/ipjsua/Classes/TabBarController.m')
-rw-r--r--pjsip-apps/src/ipjsua/Classes/TabBarController.m20
1 files changed, 20 insertions, 0 deletions
diff --git a/pjsip-apps/src/ipjsua/Classes/TabBarController.m b/pjsip-apps/src/ipjsua/Classes/TabBarController.m
new file mode 100644
index 00000000..c5dcaa5d
--- /dev/null
+++ b/pjsip-apps/src/ipjsua/Classes/TabBarController.m
@@ -0,0 +1,20 @@
+//
+// TabBarController.m
+// ipjsua
+//
+// Created by Liong Sauw Ming on 3/24/10.
+// Copyright 2010 Teluu Inc. (http://www.teluu.com). All rights reserved.
+//
+
+#import "TabBarController.h"
+
+
+@implementation TabBarController
+
+// Override to allow orientations other than the default portrait orientation.
+- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
+ // Return YES for supported orientations
+ return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
+}
+
+@end