Home > Q&A > body text
How to put sandbox pictures into the album on iOS
曾经蜡笔没有小新2017-05-02 09:33:39
UIImage *image = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"]]; UIImageWriteToSavedPhotosAlbum(image, nil, NULL, NULL);