Author Topic: How to put an Android/iOS native view in a NGUI widget?  (Read 2247 times)

ryuk

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
How to put an Android/iOS native view in a NGUI widget?
« on: February 25, 2014, 09:46:12 PM »
Hi, is there a standard/known way to show an Android/iOS native view such as WebView (Android) in a NGUI component such as UIScrollView?
Maybe one way would be to create a UITexture from the content of a native view (I have no idea if it's possible to handle all the touch events), of which I'm not sure how to do that so I welcome all references and examples if any. But if there's a better way please share it with the rest of us :)
« Last Edit: February 25, 2014, 09:52:10 PM by ryuk »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to put an Android/iOS native view in a NGUI widget?
« Reply #1 on: February 26, 2014, 03:29:06 PM »
No there isn't. NGUI is a system that draws widgets. It can't draw native OS stuff. Native OS stuff draws itself.