And if so what inputs would I be changing for text?
– Handler that gets notified when the alert closes
local alert = native.showAlert( "Corona", "Dream. Build. Ship.", { "OK", "Learn More" }, onComplete )
local function onComplete( event )
if "clicked" == event.action then
local i = event.index
if 1 == i then
-- Do nothing; dialog will simply dismiss
elseif 2 == i then
-- Open URL if "Learn More" (the 2nd button) was clicked
system.openURL( "http://developer.anscamobile.com" )
end
end
end
– Show alert with two buttons [import]uid: 88495 topic_id: 34682 reply_id: 334682[/import]