christian Muller
christian Muller

Reputation: 5056

Corona: Touch Eventlistener on newWebView

Is it possible to add an Touch Eventlistener to a webview?

  touchedwebview = function()
    print ("----- webview is touched !!!")
  end
  webview:addEventListener("touch",touchedwebview)

seems it does not work for me; I never get any response.

Upvotes: 0

Views: 36

Answers (1)

Mustafa
Mustafa

Reputation: 150

No, it won't work. Because native web views are not part of the OpenGL canvas, they do not obey the Corona display object hierarchy.

Upvotes: 0

Related Questions