diff --git a/Example/SDWebImageSwiftUI.xcodeproj/xcshareddata/xcschemes/SDWebImageSwiftUIDemo-watchOS WatchKit App.xcscheme b/Example/SDWebImageSwiftUI.xcodeproj/xcshareddata/xcschemes/SDWebImageSwiftUIDemo-watchOS WatchKit App.xcscheme index 58b52ed..65df20b 100644 --- a/Example/SDWebImageSwiftUI.xcodeproj/xcshareddata/xcschemes/SDWebImageSwiftUIDemo-watchOS WatchKit App.xcscheme +++ b/Example/SDWebImageSwiftUI.xcodeproj/xcshareddata/xcschemes/SDWebImageSwiftUIDemo-watchOS WatchKit App.xcscheme @@ -53,8 +53,7 @@ ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" - allowLocationSimulation = "YES" - notificationPayloadFile = "PushNotificationPayload.apns"> + allowLocationSimulation = "YES"> ['libdav1d'] end def all_test_pods diff --git a/README.md b/README.md index c9363c8..e518b35 100644 --- a/README.md +++ b/README.md @@ -302,6 +302,7 @@ The best place to put these setup code for SwiftUI App, it's the `AppDelegate.sw func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Add WebP/SVG/PDF support SDImageCodersManager.shared.addCoder(SDImageWebPCoder.shared) + SDImageCodersManager.shared.addCoder(SDImageAVIFCoder.shared) SDImageCodersManager.shared.addCoder(SDImageSVGCoder.shared) SDImageCodersManager.shared.addCoder(SDImagePDFCoder.shared) @@ -477,6 +478,8 @@ struct MyApp: App { SDWebImageManager.defaultImageLoader = SDImageLoadersManager.shared // WebP support SDImageCodersManager.shared.addCoder(SDImageWebPCoder.shared) + // AVIF support + SDImageCodersManager.shared.addCoder(SDImageAVIFCoder.shared) } var body: some Scene { @@ -716,6 +719,7 @@ Which means, this project is one core use case and downstream dependency, which - [SDWebImage](https://github.com/SDWebImage/SDWebImage) - [libwebp](https://github.com/SDWebImage/libwebp-Xcode) +- [libavif](https://github.com/SDWebImage/libavif-Xcode) - [Kingfisher](https://github.com/onevcat/Kingfisher) - [SwiftUIX](https://github.com/SwiftUIX/SwiftUIX) - [Espera](https://github.com/JagCesar/Espera)