自定义导航栏
获取微信设备
json
{
"width": 87,
"height": 32,
"left": 336,
"top": 58,
"right": 423,
"bottom": 90
}
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
json
{
"errMsg": "getSystemInfo:ok",
"batteryLevel": 80,
"benchmarkLevel": -1,
"brand": "devtools",
"memorySize": 2048,
"model": "iPhone 15 Pro Max",
"system": "iOS 10.0.1",
"platform": "devtools",
"pixelRatio": 3,
"safeArea": {
"top": 54,
"left": 0,
"right": 430,
"bottom": 898,
"width": 430,
"height": 844
},
"screenWidth": 430,
"screenHeight": 932,
"screenTop": 82,
"windowWidth": 430,
"windowHeight": 850,
"statusBarHeight": 54,
"version": "8.0.5",
"language": "en",
"SDKVersion": "3.6.5",
"enableDebug": false,
"fontSizeScaleFactor": 1,
"fontSizeSetting": 16,
"mode": "default",
"host": {
"env": "WeChat"
},
"bluetoothEnabled": true,
"locationEnabled": true,
"wifiEnabled": true,
"locationReducedAccuracy": true,
"albumAuthorized": true,
"bluetoothAuthorized": true,
"cameraAuthorized": true,
"locationAuthorized": true,
"microphoneAuthorized": true,
"notificationAuthorized": true,
"notificationAlertAuthorized": true,
"notificationBadgeAuthorized": true,
"notificationSoundAuthorized": true,
"phoneCalendarAuthorized": true,
"deviceOrientation": "portrait",
"devicePixelRatio": 3
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51