/// 调用相册选择照片 /// [menu addButtonWithTitle:NSLocalizedString(@"KeyFromAlbum", nil) block:onTouch_MenuItem];
/// 点击 相册 和 拍照 菜单选项代码块 /// void (^onTouch_MenuItem)(NSUInteger) = ^(NSUInteger y) { //NSLog(@"%lu", (unsigned long)index); // ==> 1 if (!imgPicker) imgPicker = [[UIImagePickerController alloc] init]; imgPicker.sourceType = UIImagePickerControllerSourceTypeCamera; };