Skip to content

Releases: lixiang1994/AutoInch

优化Screen, 增加iPhone 16系列支持

26 Sep 09:40
Compare
Choose a tag to compare

添加隐私清单

17 Apr 11:25
Compare
Choose a tag to compare
2.5.1

添加隐私清单

添加隐私清单

09 Apr 11:53
Compare
Choose a tag to compare
2.5.0

添加隐私清单

修复plus机型判断问题

09 Mar 11:16
Compare
Choose a tag to compare
2.4.1

修复plus机型判断问题

适配13系列

11 Oct 03:12
Compare
Choose a tag to compare
2.4.0

2.4.0

支持SPM

02 Sep 09:16
Compare
Choose a tag to compare
2.3.0

添加SPM支持

系统缩放模式

16 Jul 10:13
Compare
Choose a tag to compare

Screen增加缩放模式处理, 优化缩放模式判断准确性, 设置条件增加缩放模式值.

优化精准适配API

22 Oct 07:34
Compare
Choose a tag to compare

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 起

22 Oct 06:53
Compare
Choose a tag to compare
2.0.1

.

重构精准适配方式 增加更多纬度匹配条件

22 Oct 06:35
Compare
Choose a tag to compare

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