You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
I'm working with Pinterest's SDK and I can't get a valid NSURL from Amazon S3. I use this code after all the example code provided by the AFAmazonManager cocoapod:
The interesting thing is it causes an invalid URL on my device, however, it works correctly in Simulator. How do I ensure my imageURL is valid? Is there a trick for images or am I missing something else?
I did notice when I paste the URL in a browser doesn't open as a web URL. It asks to save the image. Is that what is causing my issue or Is there a setting for Amazon S3 can open images in web URLs?
Any help would appreciated. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm working with Pinterest's SDK and I can't get a valid NSURL from Amazon S3. I use this code after all the example code provided by the AFAmazonManager cocoapod:
NSURL *resultURL = [s3Manager.requestSerializer.endpointURL URLByAppendingPathComponent:fileName];
This code returns this URL and it appears to be valid: https://phototower.s3.amazonaws.com/2015-11-09%2018:18:53%20+0000.jpg.
The interesting thing is it causes an invalid URL on my device, however, it works correctly in Simulator. How do I ensure my imageURL is valid? Is there a trick for images or am I missing something else?
I did notice when I paste the URL in a browser doesn't open as a web URL. It asks to save the image. Is that what is causing my issue or Is there a setting for Amazon S3 can open images in web URLs?
Any help would appreciated. Thanks in advance.
The text was updated successfully, but these errors were encountered: