Image("sticker5")
.resizable()
.frame(width: 47, height: 47)
.scaledToFill()
sticker5 is a picture with 94px * 94px. This is the size recommended by guideline.
The Error is
ComplicationsExtension[403:17806] [archiving] Widget archival failed due to image being too large [2] - (94, 94).
We don't want to use low pixel images. That would look terrible.
Please Help!
Post
Replies
Boosts
Views
Activity
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))
}
})
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}