// 在viewController上签订协议
<UIActionSheetDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate>
// 定义指定图片所在视图属性
@property(nonatomic,retain)UIImageView *imageView;
// 弹出框设置
UIActionSheet *sheet = [[UIActionSheetalloc] initWithTitle:@"图片"delegate:selfcancelButtonTitle:@"2"destructiveButtonTitle:@"从相册选取"otherButtonTitles:@"4",nil];
// 显示
[sheet showInView:self.view];