Files
suixinkan_uikit/suixinkan/UI/CooperationOrder/ImagePreviewViewController.swift

22 lines
609 B
Swift
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// ImagePreviewViewController.swift
// suixinkan
//
import UIKit
///
final class ImagePreviewViewController: MediaPreviewViewController {
///
init(imageURLs: [String], startIndex: Int) {
let items = imageURLs.compactMap { MediaPreviewItem.remoteImage($0) }
super.init(items: items, startIndex: startIndex)
}
@available(*, unavailable)
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
}