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

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


其中,completionSelector的形式如下:

- (void)image: (UIImage *) image
          didFinishSavingWithError: (NSError *) error
          contextInfo: (void *) contextInfo;

相关文章:

  • 2021-12-27
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2021-06-25
  • 2021-11-18
  • 2022-02-07
猜你喜欢
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2022-01-29
  • 2021-09-18
  • 2021-12-23
相关资源
相似解决方案