search

Home  >  Q&A  >  body text

Objective-c - iOS How to put sandbox pictures into the album

How to put sandbox pictures into the album on iOS

PHPzPHPz2887 days ago717

reply all(1)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:33:39

    UIImage *image = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"]];
    
    UIImageWriteToSavedPhotosAlbum(image, nil, NULL, NULL);

    reply
    0
  • Cancelreply