📅  最后修改于: 2022-03-11 14:49:14.529000             🧑  作者: Mango
代码示例1
if(Device.RuntimePlatform == Device.iOS)
{
//iOS stuff
}
else if(Device.RuntimePlatform == Device.Android)
{
//Android stuff
}