Learn how to add a link to your iPhone application easily.
I know that it isn’t the most exciting thing you can do with the Corona SDK and Lua but adding working links can be very useful in encouraging users to learn more about your other apps.
So, follow the steps below!
Make a button for the function; for the sake of simplicity I’m calling it mybutton in the below code.
Insert the following snippet into your project, below where you created your button;
function openmylink (event)
system.openURL( "http://techority.com" )
Step 3: Profit!
It’s seriously that simple – go build it and test it out
I hope that while not hugely exciting you’ll enjoy this and find it useful – it’s another one of those search terms that people find Techority while Googling, yet I didn’t previously have a clear snippet of code for it.