Closed daffodilistic closed 5 years ago
Hey @daffodilistic , this issue is the same as the one reported in here https://github.com/Flash3001/iOSCharts.Xamarin/issues/11 , but I wasn't able to fix it yet.
It seems it is not possible to subclass a Swift class. (https://stackoverflow.com/a/35244676/1698917).
The current solution is to do what proposed on #11 comments.
Hi,
I have a Xamarin Forms project which uses iOSCharts, everything works fine in Simulator, but when I test the project on device, it crashes. I am using the LineChartView as a custom renderer with Xamarin.Forms, and I inherited iOSCharts.LineChartView as a parent class:
And here is my ViewRenderer:
Here's the stacktrace: https://pastebin.com/CpyBiFHS