public static bool IsPad(this UIDevice device) { return device.UserInterfaceIdiom == UIUserInterfaceIdiom.Pad; }