iOS 设备

if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad){
    //如果设备是 iPad
}


你可能感兴趣的:(ios,设备)