UI for Xamarin.iOS: Getting Started

This tutorial demonstrates how to get started with the Telerik UI for Xamarin.iOS wrappers.

Downloading the UI for Xamarin.iOS wrappers

Trial version

The Trial version of the UI for Xamarin.iOS wrappers is contained in the Trial package of the UI for Xamarin Cross-Platform product. You can download a Trial of UI for Xamarin Cross-Platform at http://www.telerik.com/download/xamarin-ui.

Paid version

If you have already purchased UI for Xamarin.iOS, UI for Xamarin Cross-Platform or DevCraft Ultimate, you can download the wrappers following the steps below:

  1. Go to Your Account >> Products & Subscriptions >> UI for Xamarin.iOS / UI for Xamarin Cross-Platform / DevCraft Ultimate.
  2. Click the blue button Download installers and Other Resources.
    • If you have reached the blue button using your UI for Xamarin.iOS / UI for Xamarin Cross-Platform license, go to step 3
    • If you have reached the blue button using your DevCraft Ultimate, go to step 4.
  3. Clicking the blue button will open the list of files available for download. Download the Manual Installation file of UI for Xamarin.iOS / UI for Xamarin Cross-Platform respectively (skip step 4).
  4. Clicking the blue button will open the list of products available with the DevCraft Ultimate license. Find the UI for Xamarin Cross-Platform product and click the Download button. This will download the Manual Installation file.

Unpacking the UI for Xamarin.iOS wrappers

UI for Xamarin Cross-Platform

The UI for Xamarin Cross-Platform products gives you access to a zip file that contains the Xamarin.iOS wrappers, Xamarin.Android wrappers, UI for Windows Phone, Xamarin.Forms controls and a Demo app for these Xamarin.Forms controls. Extract the contents of the zip file to a convenient place, preferably in C:\Program Files\Telerik\UI for Xamarin\ if you are on Windows, or in Documents\Telerik\UI for Xamarin\ if you are on Mac. After you extract the contents, you can find the UI for Xamarin.iOS assembly at Binaries\iOS\Telerik.Xamarin.iOS.dll

UI for Xamarin.iOS

The UI for Xamarin.iOS products gives you access to a zip file that contains the Xamarin.iOS wrappers and a Demo app for these wrappers. Extract the contents of the zip file to a convenient place, preferably in C:\Program Files\Telerik\UI for Xamarin\ if you are on Windows or in Documents\Telerik\UI for Xamarin\ if you are on Mac. The Telerik.Xamarin.iOS.dll assembly that contains the Xamarin.iOS wrappers is directly available at the top level directory of the zip contents.

Setting up the project

After downloading and unpacking the UI for Xamarin.iOS wrappers, you can proceed with the steps below to create a new project. You can develop a Xamarin.iOS application with both Visual Studio / Xamarin Studio.

Using UI for Xamarin.iOS

This code creates a new instance of TKChart and adds it as a subview of the RootViewController's main view. The autoresizingMask property is set in order to allow correct resizing of the chart when the device is rotated in landscape mode.

In this case create two lists setting the i variable as an x value, and a random number in the range between 0 and 100 as an y value.

The TKChartLineSeries tells the chart to present its data in the form of line charts and initialize it with the already created points.

For more information about populating TKChart with data, please refer to the following article:


For more information about customizing animations, please refer to the following articles:

You can easily change the way data is presented in the Chart by changing the series type:

chart.AddSeries(new TKChartSplineAreaSeries(randomNumericData.ToArray()));
chart.AddSeries(new TKChartSplineAreaSeries(randomNumericData2.ToArray()));