Download image from iOS WebView to users Photos app

Sometimes it could be useful to save images to the iOS camera roll of your app user.

Here is how to:

  1. Download the WebView Xcode template
  2. Define your URL (or your local HTML folder)
  3. Insert this HTML into your website:
<a href="savethisimage://?url=http://www.example.org/example.png">Save this image</a>

You are done! 🙂

If you want an automatic download (instead of a link), just redirect to the API URL scheme:

<script>
var imgurl = "http://www.example.org/example.png";
window.location.href = "savethisimage://?url="+ imgurl +"";
<script>

Enjoy! 🙂 If you have any questions, please feel free to ask.

Hello World!

Happy New Year, dear freelancers, developers and designers!
We had a great start by relaunching our OnlineAppCreator blog:

  • New design
  • New content
  • New topics

And we just launched our official page on Facebook and Twitter.
We are looking forward to have great discussions with you.
Have a great start into 2017!