如何使用UIDocumentInteractionController预览图像集?

时间:2018-07-13 14:10:38

标签: ios swift uidocumentinteractioncontroller

当前,我可以预览这样的图像:

func presentPreview(with card: Card) {
    if let url = card.imageData?.write(withName: "photo.png") {

        let controller = UIDocumentInteractionController(url: url)
        controller.delegate = self
        controller.presentPreview(animated: true)
    }
}

但是现在我需要预览一组图像并左右滑动。可能吗?

0 个答案:

没有答案