moko-resources icon indicating copy to clipboard operation
moko-resources copied to clipboard

Load image as plain resource by string on iOS

Open OskarPersson opened this issue 1 year ago • 0 comments

If I have a file called foo.png placed at commonMain/resources/MR/files/foo.png, is it possible to access this in SwiftUI similar to this?

Image("MR.files.foo.png")

For some files (even images) I want to avoid placing them in commonMain/resources/MR/images.

OskarPersson avatar May 13 '24 21:05 OskarPersson