I’m trying to use the placeholder app icon in a SwiftUI view using Swift Playgrounds 4 on iPad. I’ve tried using Image(“AppIcon”)
, but that hasn’t worked, nothing appears.
What’s weird is that when trying to import a photo and name it AppIcon, I get this pop up:
"Applcon-1.imageset" couldn't be moved to "Assets.xcassets" because an item with the same name already exists. To save the file, either provide a different name, or move aside or delete the existing file, and try again.
If anyone has been able to solve it, I will appreciate it!