Replies: 1 comment
-
Maybe try
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've been trying to get SkCanvasView working on my iPad, and I've run into the same problem as described here: #341, but with MAUI. On Windows and in the simulators, the canvas in my sample app works (i.e., it paints and show up as a red square). On my physical iPad, the canvas never fires the PaintSurface event, and so ends up black. I can tell it's there at least because of the position of the 'Invalidate' button I added; it's just not drawing.
My MainPage.xaml:
My MainPage.xaml.cs:
And I've called UseSkiaSharp() in the app builder.
For the record, the Touch event isn't firing on the iPad either (it does on Windows). I'm using Visual Studio Pro 17.4.0 Preview 4.0, and Skia.Views.Maui.Controls 2.88.3. Any insight is appreciated; perhaps I'm missing something obvious. Screenshots of my output:
Windows:
iPad:
EDIT: Fixed my crappy code block formatting.
Beta Was this translation helpful? Give feedback.
All reactions