How to make PHLivePhoto from Mov File?
问题 I have a one .MOV file and one .JPG file. When I'm trying to make a Live Photo: func makeLivePhotoFromItems(imageURL: NSURL, videoURL: NSURL, previewImage: UIImage, completion: (livePhoto: PHLivePhoto) -> Void) { PHLivePhoto.requestLivePhotoWithResourceFileURLs([imageURL, videoURL], placeholderImage: previewImage, targetSize: CGSizeZero, contentMode: PHImageContentMode.AspectFit) { (livePhoto, infoDict) -> Void in print("info: \(livePhoto)") if let lp = livePhoto { completion(livePhoto: lp) }