如何判断设备是iPhone还是iPad 笑红尘 2017-12-21 830 阅读1分钟 // 是否iPad #define isPad (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) //这样一来,只需要在代码中