2010-05-15 4 views

답변

2

나는 동일한 문제가있었습니다. UIGraphicsImageContext 내에서 이미지를 그리면 다음과 같은 문제가 해결됩니다.



    CGRect rect = CGRectMake(0,0,100,100); 
    UIImage *image = ((put here your image)); 

    UIGraphicsBeginImageContext(rect.size); 
    [image drawInRect:rect]; 
    UIImage *result = UIGraphicsGetImageFromCurrentImageContext(); 
    UIGraphicsEndImageContext(); 

    UIImageWriteToSavedPhotosAlbum(
     result, self, @selector(image:didFinishSavingWithError:contextInfo:),nil); 

관련 문제