Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
Retrieving image from Documents Directory
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="aceiswild" data-source="post: 1338303" data-attributes="member: 221715"><p>Hey guys,</p><p>I am struggling abit with getting images from my documents directory. I am trying to use imageWithContentsOfFile to get the image that was saved in my first view to load in my second view. Does anybody have or know a good tutorial on how I can correctly use imageWithContentsOfFile to load my image up in my second view? </p><p></p><p>Ps. When the second view loads it should set the image that is stored in my documents directory as the views background. I can easy set the background color programmatically in view did load but having some troubles setting it as an image. </p><p></p><p>Thank you,</p><p>Steve</p></blockquote><p></p>
[QUOTE="aceiswild, post: 1338303, member: 221715"] Hey guys, I am struggling abit with getting images from my documents directory. I am trying to use imageWithContentsOfFile to get the image that was saved in my first view to load in my second view. Does anybody have or know a good tutorial on how I can correctly use imageWithContentsOfFile to load my image up in my second view? Ps. When the second view loads it should set the image that is stored in my documents directory as the views background. I can easy set the background color programmatically in view did load but having some troubles setting it as an image. Thank you, Steve [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
Retrieving image from Documents Directory
Top