我在mobile8设备上遇到错误。 iPhone 8上正确的宽度和高度是什么?
export const win = Dimensions.get('window');
export const W = win.width;
export const H = win.height;
export const responsive = {
mobile8: W > 342 && W < 375,
};
答案 0 :(得分:0)
在其中具有带布尔值的键(mobile8)的对象的目的是什么。您能详细说明您要做什么吗?