Unfortunately, as it is
native.showPopup( "twitter", options )
is almost unusable because the taps goes through…
Unfortunately, as it is
native.showPopup( "twitter", options )
is almost unusable because the taps goes through…
Draw a newRect behind it first, and make it alpha=0. Then give it a touch listener and make it return true. Like so:
[lua]
modalWindow = display.newRect( 0, 0, display.contentWidth, display.contentHeight )
modalWindow:setFillColor(0, 0, 0, 0)
modalWindow.touch = function () return true end
modalWindow:addEventListener(“touch”, modalWindow)
–Then:
native.showPopup(“twitter”, options)
[/lua]
You can kill the modalWindow when the twitter “sent” or “cancelled” popup event occurs in your popup listener.
Thank you, that was exactly what we have done.
Guess it should not be to hard for them to kill this bug
Draw a newRect behind it first, and make it alpha=0. Then give it a touch listener and make it return true. Like so:
[lua]
modalWindow = display.newRect( 0, 0, display.contentWidth, display.contentHeight )
modalWindow:setFillColor(0, 0, 0, 0)
modalWindow.touch = function () return true end
modalWindow:addEventListener(“touch”, modalWindow)
–Then:
native.showPopup(“twitter”, options)
[/lua]
You can kill the modalWindow when the twitter “sent” or “cancelled” popup event occurs in your popup listener.
Thank you, that was exactly what we have done.
Guess it should not be to hard for them to kill this bug