如何将图像保存到相册

将图像保存到相册的方法:

void UIImageWriteToSavedPhotosAlbum (
   UIImage  *image,
   id       completionTarget,
   SEL      completionSelector,
   void     *contextInfo
);


其中,completionSelector的形式如下:

- (void)image: (UIImage *) image
          didFinishSavingWithError: (NSError *) error
          contextInfo: (void *) contextInfo;
posted @ 2011-10-12 12:05  zenny_chen  Views(892)  Comments(0Edit  收藏  举报