NativeScript / canvas

Apache License 2.0
88 stars 18 forks source link

Dom don't work in iOS #117

Closed vallemar closed 8 months ago

vallemar commented 8 months ago

Android is being used directly in the Dom view, so it does not work on iOS https://github.com/NativeScript/canvas/blob/master/packages/canvas/Dom/Dom.ts#L16

triniwiz commented 8 months ago

Nice find 😅

vallemar commented 8 months ago

@triniwiz I have been trying to solve it by replacing it with a stackLayout but then I have an error in _addViewToNativeVisualTree that I have not been able to solve 😭

triniwiz commented 8 months ago

You need UIView then addSubview.

vallemar commented 8 months ago

Working on iOS in beta.3!