Posts

Post not yet marked as solved
4 Replies
611 Views
Work well in iOS 15.0 but after upgrading to iOS 15.1, the codes can't get worked. _ = PHLivePhoto.request(withResourceFileURLs: [pairedVideoURL, pairedImageURL], placeholderImage: nil, targetSize: CGSize.zero, contentMode: PHImageContentMode.aspectFit, resultHandler: { (livePhoto: PHLivePhoto?, info: [AnyHashable : Any]) -> Void in if let isDegraded = info[PHLivePhotoInfoIsDegradedKey] as? Bool, isDegraded { return } DispatchQueue.main.async { completion(livePhoto, (pairedImageURL, pairedVideoURL)) } })
Posted
by tpian928.
Last updated
.
Post not yet marked as solved
1 Replies
706 Views
My codes : CLKWatchFaceLibrary().addWatchFace(at: url) { (error) in print(error) } I can add other watch faces except Memoji watch face. The error is Error Domain=CLKWatchFaceLibraryErrorDomain Code=4 "IMPORT_FACE_ERROR_FACE_NOT_AVAILABLE" UserInfo={NSLocalizedDescription=IMPORT_FACE_ERROR_FACE_NOT_AVAILABLE}
Posted
by tpian928.
Last updated
.