Releases: lixiang1994/AutoInch
Releases · lixiang1994/AutoInch
优化Screen, 增加iPhone 16系列支持
2.6.0 fix
添加隐私清单
2.5.1 添加隐私清单
添加隐私清单
2.5.0 添加隐私清单
修复plus机型判断问题
2.4.1 修复plus机型判断问题
适配13系列
2.4.0 2.4.0
支持SPM
2.3.0 添加SPM支持
系统缩放模式
Screen增加缩放模式处理, 优化缩放模式判断准确性, 设置条件增加缩放模式值.
优化精准适配API
API Change:
old:
"default"
.i35("3.5 inches (iPhone 4, 4s)")
.i40("4.0 inches (iPhone 5, 5s, SE)")
.i47("4.7 inches (iPhone 6, 7, 8)")
.i55("5.5 inches (iPhone 6, 7, 8 Plus)")
.ifull("full screen (iPhone X, Xs, XsMax)")
.i58full("5.8 inches (iPhone X, Xs)")
.i61full("6.1 inches (iPhone XR)")
.i65full("6.5 inches (iPhone XsMax)")
new:
"default".screen
.width(._320, is: "width 320")
.width(._375, is: "width 375")
.height(._844, is: "height 844")
.height(._812, is: "height 812")
.inch(._4_7, is: "4.7 inches")
.inch(._5_8, is: "5.8 inches")
.inch(._6_5, is: "6.5 inches")
.level(.compact, is: "screen 3: 2")
.level(.regular, is: "screen 16: 9")
.level(.full, is: "screen 19.5: 9")
.value
iOS 9.0 起
2.0.1 .
重构精准适配方式 增加更多纬度匹配条件
API Change:
old:
"default"
.i35("3.5 inches (iPhone 4, 4s)")
.i40("4.0 inches (iPhone 5, 5s, SE)")
.i47("4.7 inches (iPhone 6, 7, 8)")
.i55("5.5 inches (iPhone 6, 7, 8 Plus)")
.ifull("full screen (iPhone X, Xs, XsMax)")
.i58full("5.8 inches (iPhone X, Xs)")
.i61full("6.1 inches (iPhone XR)")
.i65full("6.5 inches (iPhone XsMax)")
new:
"default".screen
.set("width 320", for: .width(._320))
.set("width 375", for: .width(._375))
.set("height 844", for: .height(._844))
.set("height 812", for: .height(._812))
.set("4.7 inches", for: .inch(._4_7))
.set("5.8 inches", for: .inch(._5_8))
.set("6.5 inches", for: .inch(._6_5))
.set("screen 3: 2", for: .level(.compact))
.set("screen 16: 9", for: .level(.regular))
.set("screen 19.5: 9", for: .level(.full))
.value