How to load a UIImage that we’ve previously saved

- by
    // first we get the path to our image
    NSString *imagePath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/myImage.jpg"];
    
    // now we can load and display the file like this
    self.myPicture.image = [UIImage imageWithContentsOfFile:imagePath];


If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site without any pesky ads! More details here.

Leave a Comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.