Search code examples
xamarinrendererxamarin.forms

Custom renderer at Xamarin.Forms could find a OnElementChanged method


I'm trying to implement custom label and iOS renderer for it using Xamarin.Forms. For some reason code from sample is using method which is not in a base class:

OnElementChanged

enter image description here

Any ideas how to fix?


Solution

  • It turned out that Xamarin.Forms SDK referenced by project template by default is not enough. You have to install additionally NUGET package Xamarin.Forms for your Touch Project:

    enter image description here