DEComposeViewController
DEComposeViewController copied to clipboard
Variable 'imageOrientation' is used uninitialized whenever switch default is taken
pls i have error in default inscructions
UIImageOrientation imageOrientation;
switch ([UIApplication sharedApplication].statusBarOrientation) {
case UIInterfaceOrientationLandscapeLeft:
imageOrientation = UIImageOrientationRight;
break;
case UIInterfaceOrientationLandscapeRight:
imageOrientation = UIImageOrientationLeft;
break;
case UIInterfaceOrientationPortrait:
imageOrientation = UIImageOrientationUp;
break;
case UIInterfaceOrientationPortraitUpsideDown:
imageOrientation = UIImageOrientationDown;
break;
default:
break;
/DECompose/DEComposeViewController.m:152:9: Variable 'imageOrientation' is used uninitialized whenever switch default is taken
up pls