For iOS 6.0, if your app only support landscape mode, when you pop up the UIImagePickerController, it will crash.
My solution is add below category to UIImagePickerController:
@interface UIImagePickerController (oritation)
@end
@implementation UIImagePickerController (oritation)
- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskLandscape;
}
@end