xamarin periksa apakah iOS atau android

if(Device.RuntimePlatform == Device.iOS)
{
    //iOS stuff
}
else if(Device.RuntimePlatform == Device.Android)
{
	//Android stuff
}
Fat Elephant