views:

37

answers:

0

Dear all,     Our team got some very strange problem and we have been try to solve it for a while, however, we cannot get it done, we hope somebody here can share of of your talents to help us.

The problem is, we have a photography app, which works in iPhone 3G and iPhone 3Gs, however, for quite a few iPhone 4 users (Not every one, for example, we have not got the problem in our iphone 4 when tesing) or these upgrading their OS to iOS4 cannot save picture after they use our app to finish the processing job. We release the app around 6 month ago and have not any problem with picture saving, however, just recently, a lot of users with iphone 4 or iOS 4 complain about this.

The following is our code, we don't think this is a complex job, however, it just cannot work. Really hope the professional here can help us. Thanks in advance.

- (void) image: (UIImage *) imagedidFinishSavingWithError: (NSError *) error
   contextInfo: (void *) contextInfo
{
NSString *message = nil;
if(error != nil)
{
message = [NSString stringWithFormat:@"Save image error: %@", error];
}
else
message = @"Save successful!";
 
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Test Save Image" message:message delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
[alertView show];
[alertView release];
}

That is error use UIImageWriteToSavedPhotosAlbum, if some one has same error, please point me out, thanks a lot. I check on my iPhone3gs with iOS4 but can't reproduce this issue. And not all of user report this issue, just some user report this issue. Please help me.