poco.drivers.ios package¶
-
json_parser
(node, screen_size, switch_flag=False, ori='PORTRAIT')[源代码]¶ 参数: - node – node info {}
- screen_size – ios.windows_size()
- switch_flag – If it is an ipad , when on the desktop, all coordinates must be converted to vertical screen coordinates
- ori – wda [‘PORTRAIT’, ‘LANDSCAPE’, ‘UIA_DEVICE_ORIENTATION_LANDSCAPERIGHT’, ‘UIA_DEVICE_ORIENTATION_PORTRAIT_UPSIDEDOWN’]
返回: