0
我語法錯誤時,我試圖使用使用BUTTOM釋放UIImagePickerControl在Objective C&IOS 5.1
- (void) imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
// Access the uncropped image from info dictionary
UIImage *image = [info objectForKey:@"UIImagePickerControllerOriginalImage"];
[viewsavedimage setImage: image];
[picker release];
}
之後釋放UIImagePickerControl是[拾取器釋放];對不對?