使用 use buttom 后尝试释放 UIImagePickerControl 时出现语法错误
- (void) imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
// Access the uncropped image from info dictionary
UIImage *image = [info objectForKey:@"UIImagePickerControllerOriginalImage"];
[viewsavedimage setImage: image];
[picker release];
}
是[选择器释放];对不对?