Xamarin Forms custom view not rendering on real device

I'm trying to create an app that will display figures on a view. To do that I'm using Xamarin Forms to create a generic view (e.g a Line) and with custom renders I draw the line on Android and iOS.

Right now it works fine on Android and on the iOS simulator but when I deploy to a device it doesn't render the figures at all.

If I debug, the Draw and OnElementChanged methods are not invoked on the device but they are on the simulator. It looks like the app thinks there's nothing to draw at all.

I really no have idea, I mean if it works on the simulator it should work on the device. I've tested on different devices (iPhone 5S, iPhone 6S) and the result is always the same.

Thanks.

Sign In or Register to comment.