3 #import <Foundation/Foundation.h>
4 #import <UIKit/UIKit.h>
8 @implementation CYViewController
9 - (void) setDelegate:(id)delegate {
14 - (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
15 return (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad || orientation == UIInterfaceOrientationPortrait);