box = (location["x"]*2, location["y"]*2, (location["x"] + size["width"])*2, (location["y"] + size["height"])*2),这样可以截取到 ios 上对应的元素截图,问题已经解决