LiZhuoyuan
Committed by GitHub

Update README.md

@@ -62,9 +62,11 @@ ScreenUtil.instance = ScreenUtil(width: 750, height: 1334, allowFontScaling: tru @@ -62,9 +62,11 @@ ScreenUtil.instance = ScreenUtil(width: 750, height: 1334, allowFontScaling: tru
62 62
63 Pass the px size of the design draft: 63 Pass the px size of the design draft:
64 64
65 -Adapted to screen width: ScreenUtil().setWidth(540), 65 +Adapted to screen width: `ScreenUtil().setWidth(540)`,
66 66
67 -Adapted to screen height: ScreenUtil().setHeight(200), 67 +Adapted to screen height: `ScreenUtil().setHeight(200)`,
  68 +
  69 +You can also use `ScreenUtil.getInstance()` instead of `ScreenUtil()` , for example: `ScreenUtil.getInstance().setHeight(25)`
68 70
69 **Note** 71 **Note**
70 72