当前,我可以预览这样的图像:
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)
}
}
但是现在我需要预览一组图像并左右滑动。可能吗?