检查iphoneX刘海屏


检查iphoneX刘海屏

1
2
3
4
5
6
checkBangs(){
if(cc.sys.os == "iOS" && cc.view._frameSize.height == 812 && cc.view._frameSize.width == 375){
return true;
}
return false;
},