我目前正处在获取远程附件这样的阶段:
[
{
"result": "success",
"homeworks": [
{
"submissionID": "1",
"assignmentID": "75",
"remark": "saxax",
"doc_file": "http://skoolroom.co.in/development/uploads/documents/181531183261file.jpg,http://skoolroom.co.in/development/uploads/documents/591531184143file.jpg,http://skoolroom.co.in/development/uploads/documents/601531184144file.jpg,http://skoolroom.co.in/development/uploads/documents/361531184144file.jpg",
"added_on": "2018-07-08 23:03:52",
"a_year": "2018-2019"
}
]
}
]
我想在这里显示doc_file。它可以是任何扩展名,例如xlsx,jpg,jpeg,pdf等。
我已经阅读了有关Quick Look的信息,但发现的全部是QuickLook仅可用于本地文件。如果我远程下载它们并存储它们,然后显示它们,将照常增加CPU使用率。