if(Device.RuntimePlatform == Device.iOS)
{
//what is the device type
if (Device.Idiom == TargetIdiom.Phone)
{
Console.WriteLine(Device.Idiom);
}
else if(Device.Idiom == TargetIdiom.Tablet)
{
Console.WriteLine(Device.Idiom);
}
}
else if(Device.RuntimePlatform == Device.Android)
{
//what is the device type
}