Take advantage of platform-specific features with Xamarin.Forms
This guide describes how to implement Material Design by updating existing Xamarin.Forms Android apps.
Application indexing allows applications that would otherwise be forgotten after a few uses to stay relevant by appearing in search results. Deep linking allows applications to respond to a search result that contains application data, typically by navigating to a page referenced from a deep link.
How to use the
Device class to create platform-specific behavior in shared code and the user interface (including using XAML). Also covers
BeginInvokeOnMainThread which is essential when modifying UI controls from background threads.
Some iOS styling can be performed via Info.plist and the
UIAppearance API. This guide includes examples of how to include iOS 9 features into the iOS app of a Xamarin.Forms solution, including Core Spotlight search.
Xamarin.Forms now has preview support for macOS apps.
Native views from iOS, Android, and the Universal Windows Platform can be directly referenced from Xamarin.Forms XAML files. Properties and event handlers can be set on native views, and they can interact with Xamarin.Forms views.
Platform-specifics allow you to consume functionality that's only available on a specific platform, without requiring custom renderers or effects.
There are a wide variety of open-source plug-ins available on Github, Nuget, and the Xamarin Component Store to help extend Xamarin.Forms apps.
Xamarin.Forms has support for four different types of Windows project:
- Windows Phone 8 Silverlight (the original Windows platform supported by Xamarin.Forms),
- Windows Phone 8.1 (WinRT),
- Windows 8.1 (WinRT), and
- Universal Windows Platform (Windows 10).
This section describes the differences between them, and how to add them to an existing Xamarin.Forms solution.