imageliteral swiftui
Image(uiImage: #imageLiteral(resourceName: "YOUR-IMAGE"))
imageliteral swiftui
Image(uiImage: #imageLiteral(resourceName: "YOUR-IMAGE"))
swiftui system image
//The system image uses the sf symbols app
//Make sure you download the sf symbols app first as it wlll be useful later
// https://developer.apple.com/sf-symbols/
//(NOTE THAT IS YOUR macOS IS NOT 12, PLEASE DOWNLOAD THE 11.x VERSION AND NOT THE BETA ONE)
//Basically, these sf symbols are made by apple and are usually used in its apps
//To use these, you first need to find out the name of the sf symbol
//(In the sf symbols app, or search it up online)
//Then, we can use the systemName argument in the image struct (swiftui)
Image(systemName: <String>)
//The string in this case is the name of the sf symbol you wish to put
//Examples include "chevron" ->
Image(systemName: "chevron")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us