Hi guys…
I copy this file from Corona
i have this first inside my createScene
system.activate("multitouch")
then this
local bg = display.newRect( 0, 0, 320, 480 ) local output = native.newTextBox( 0, 20, 320, 240 ) output.size = 12 function showTouch(event) -- Display the Event info on the screen output.text = output.text .. "\nPhase: " .. event.phase output.text = output.text .. "\n(" .. event.x .. "," .. event.y .. ")" output.text = output.text .. "\nId: " .. tostring( event.id ) end bg:addEventListener("touch", showTouch) -- Deactivate multitouch after 5 seconds timer.performWithDelay( 8000, function() system.deactivate("multitouch") end )
and test it on my iPad and nothing happens I just see a white rectangle.
is there any sample Code app that I can run on my iPad to see how it works?
like coolromin said – it is very confusing for beginners like us
thanks