Sauw Ming | bf16644 | 2010-03-30 12:33:52 +0000 | [diff] [blame] | 1 | // |
| 2 | // TabBarController.m |
| 3 | // ipjsua |
| 4 | // |
| 5 | // Created by Liong Sauw Ming on 3/24/10. |
| 6 | // Copyright 2010 Teluu Inc. (http://www.teluu.com). All rights reserved. |
| 7 | // |
| 8 | |
| 9 | #import "TabBarController.h" |
| 10 | |
| 11 | |
| 12 | @implementation TabBarController |
| 13 | |
| 14 | // Override to allow orientations other than the default portrait orientation. |
| 15 | - (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { |
| 16 | // Return YES for supported orientations |
| 17 | return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); |
| 18 | } |
| 19 | |
| 20 | @end |