December 2018
Intermediate to advanced
416 pages
10h 30m
English
A custom renderer is a class that inherits from another renderer. It allows us to add custom code for important events, such as when an element in XAML is created when the XAML file is parsed. Since the ARView control inherits from the View, we will be using the ViewRenderer as a base class. Let's create the ARViewRenderer by going through the following steps:
using System.Threading.Tasks;using Urho.iOS;using WhackABox.Controls;using WhackABox.iOS.Renderers;using Xamarin.Forms;using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof(ARView), typeof(ARViewRenderer))] namespace ...
Read now
Unlock full access