Implemented ticket #1053: ipjsua: pjsua for iPhone OS
* ipjsua:
* xcode project directory for ipjsua application
* pjsua:
* Modify pjsua to support printing messages and logs to a user-specified function
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/iphone@3130 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/ipjsua/Classes/TabBarController.m b/pjsip-apps/src/ipjsua/Classes/TabBarController.m
new file mode 100644
index 0000000..c5dcaa5
--- /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