Post

Replies

Boosts

Views

Activity

Use placeholder app icon in view in Swift Playgrounds 4
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!
3
0
2.6k
Dec ’22
Use placeholder app icon in view in Swift Playgrounds 4
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!
Replies
3
Boosts
0
Views
2.6k
Activity
Dec ’22
How to know if a .fileImporter/.fileExporter got dismissed?
Hello, everyone! Is there a way to know if a .fileImporter of .fileExporter got dismissed? (The cancel button at the top right was pressed or the view was dismissed with a swipe down.)
Replies
3
Boosts
1
Views
2.2k
Activity
May ’23