This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Juan J. Ramirez
Posted Jun 09 - Read on Facebook

Hey Framers!

Any good ideas to on how to open the native iOS mail client from a prototype.

I tried:

topBar.onTouchStart ->
window.open("<a href='mailto:frank@wwdcdemo.example.com'>John Frank</a>","_self")

but that doesn't seem to work. Is there a UIWebView configuration that I need to pass?

3 Comments

Luca Pesavento

I think you'd need some sort of virtual machine/simulator to open the actual mail app. framer is just a web ui that looks like an iPhone.

Juan J. Ramirez

Ohh sorry my fault. I'm referring to when I'm mirroring the app on an actual phone and is being viewed through a webkit browser.

In iOS, you can actually open apps with URL schemes from a browser. Also the mailto url scheme should work and open the native mail client but it's not working....

Luca Pesavento

Allright. Perhaps it's a limitation of the Framer iOS app. But hey, given it's all javascript, html, and css I think you should be able to dive into your project, get the actual prototype and throw it into something like CodeKit and have it simulate a web server, so you can use safari and see if it works in safari. If it does, well...

Read the entire post on Facebook