Hi! I'm trying to use the ImagePlayground API in SwiftUI with the .imagePlaygroundSheet modifier. However, when the sheet is shown (in the preview or in the simulator) it displays the following message: "Image Playground is not available. Image Playground is not available on this iPhone.". I'm using an iPhone 16 Pro with iOS 18.3.1 in the Xcode (16.2) Simulator. Anyone else having this problem? How can I fix it?
ImagePlayground API not working on Xcode Simulator Devices
Hello,
I suspect that the ImagePlayground API requires actual hardware e.g. ANE and/or GPU, and the Simulator is unable to provide the equivalent (even though your Mac is likely adequate and I'm assuming it's Apple Silicon).
If it's only the .imagePlaygroundSheet modifier causing the issue then this may be a bug.