xamarin.forms 判断操作系统类型

if (Device.OS == TargetPlatform.Android)

  

原文地址:https://www.cnblogs.com/iaisoft/p/6530710.html