|
I was able to complete the challenge, save and load images from the documents directory, all works well in the simulator. But when I try to run on real iphone the image save fails. Do you know if I need to enable this functionality somewhere or am I missing something? |
|
I guess you have enabled in Target the: Privacy - Photo Library Additions Usage Description, correct? |
|
As @Bnerd has mentioned that can clearly be a reason. I think I once failed with that inattentively. Check it |
|
Thanks for the feedback. The app access the photo library OK. I seem to be haveing an issue when saving to the image to the documentsdirectory.
Again, works on the simulator, but not in the device giving me the catch print message. |
|
I think you should be using |
|
SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's all new Paywall Editor allow you to remotely configure your paywall view without any code changes or app updates.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.