(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex{
if (buttonIndex == 0) {
} else if (buttonIndex == 1) {
}}
如果(ISIPAD)
// UIPopoverController *popover = [[UIPopoverController alloc] initWithContentViewController:imagePicker];// m_pPopoverController= popover;// [m_pPopoverController PresentPopoverFromRect:CGRectMake(0, 0, 500, 500) inView:self.view allowedArrowDirections:UIPopoverArrowDirectionLeft 动画:YES];// imagePicker.view.transform = CGAffineTransformMakeRotation(M_PI*3/2);
如果(ISIPAD)
雷雷// UIPopoverController *popover = [[UIPopoverController alloc] initWithContentViewController:imagePicker];
雷雷// m_pPopoverController= popover;
// [m_pPopoverController PresentPopoverFromRect:CGRectMake(0, 0, 500, 500) inView:self.view allowedArrowDirections:UIPopoverArrowDirectionLeft 动画:YES];
// imagePicker.view.transform = CGAffineTransformMakeRotation(M_PI*3/2);