We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e10d468 commit 5a9c6f0Copy full SHA for 5a9c6f0
Sources/OpenSwiftUI/View/Image/AsyncImage.swift
@@ -511,7 +511,7 @@ extension CGImageSource {
511
properties,
512
Unmanaged.passUnretained(kCGImagePropertyOrientation).toOpaque()
513
),
514
- let orientation = orientationResult.assumingMemoryBound(to: NSNumber.self).pointee as? Int
+ let orientation = unsafeBitCast(orientationResult, to: NSNumber.self) as? Int
515
else {
516
return nil
517
}
0 commit comments