The “ui.” button library is rather old, and I don’t recall its specific functionality, internally. Are you getting a positive response from the button? Can you confirm so by doing a “print()” statement in the “backBtnRelease()” function?
The “ui.” button library is rather old, and I don’t recall its specific functionality, internally. Are you getting a positive response from the button? Can you confirm so by doing a “print()” statement in the “backBtnRelease()” function?
function scene:hide( event )
local sceneGroup = self.view
if event.phase == “will” then
if webView and webView.removeSelf then
webView:removeSelf()
webView = nil
end
end
end
function scene:hide( event )
local sceneGroup = self.view
if event.phase == “will” then
if webView and webView.removeSelf then
webView:removeSelf()
webView = nil
end
end
end