© Alessandro Del Sole 2017

Alessandro Del Sole, Beginning Visual Studio for Mac, https://doi.org/10.1007/978-1-4842-3033-6_8

8. Platform-Specific Code in Xamarin.Forms

Alessandro Del Sole

(1)Cremona, Italy

In Chapter 7 you saw how Xamarin.Forms allows you to quickly build cross-platform apps that run on Android and iOS (and actually Windows 10) by sharing the user interface and a common set of APIs based on portable class libraries, shared libraries, and .NET Standard libraries.

Now the problem is that most apps need to access native iOS and Android features whose APIs are not mapped by Xamarin.Forms, and I’m talking about common tasks such as showing the camera, detecting network connection availability, and reading and writing files. If Xamarin.Forms ...

Get Beginning Visual Studio for Mac: Build Cross-Platform Apps with Xamarin and .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.