We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there, when I try to use this on Vision OS I get 'copyCGImage(at:actualTime:)' is unavailable in visionOS coming from this code:
'copyCGImage(at:actualTime:)' is unavailable in visionOS
#if !os(macOS) var currentImage: UIImage? { guard let playerItem = currentItem, let cgImage = try? AVAssetImageGenerator(asset: playerItem.asset).copyCGImage(at: currentTime(), actualTime: nil) else { return nil } return UIImage(cgImage: cgImage) } #else
Could be nice to add support for it, thank you!
The text was updated successfully, but these errors were encountered:
There is a new API introduced in iOS 16 thats also available on visionOS.
visionOS
https://stackoverflow.com/a/78770673/8160613
Sorry, something went wrong.
No branches or pull requests
Hi there, when I try to use this on Vision OS I get
'copyCGImage(at:actualTime:)' is unavailable in visionOS
coming from this code:Could be nice to add support for it, thank you!
The text was updated successfully, but these errors were encountered: