简体   繁体   中英

Filename for an image in Assets.xcassets

How do I get the filename for an image stored in Assets.xcassets? I've an image named "default" in an "Avatars" folder in my xcassets. How do I get the filename for this image if possible?

I need the filename to send to a server.

Files from Assets.xcassets are compiled into a .car file by Xcode and have no individual filenames inside your app bundle.

See eg Analysing Assets.car file in iOS for details of how such a .car file looks like.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM