These scenes sure do drive me crazy! I am trapping the back key on a scene page that uses the webView. When I see the back key I remove the webView and go to another scene that works. When I return back to the same page the back button gives me an error. JHere is my code. Should I be removing it somewhere else?
Thanks
local function onKeyEvent( event ) print("onKeyEvent22", event.keyName, event.phase ) --if event.keyPhase == "up" then if event.keyName == "back" then if webView.canGoBack == true then webView:back() return true else webView:removeSelf() storyboard.gotoScene( "sceneHome" ) return true end end --end return false end