sf-symbols Questions
3
I'm trying to create an SKSpriteNode with an image from the SF Symbols font, and while I can do it, I can't seem to make it any color other than black.
Here's my code:
let image = UIImage.init(sy...
Sememe asked 23/1, 2020 at 20:15
4
Solved
I am declaring a Button like this :
let menuButton = UIButton()
After that I am trying to change it's parameter and set his position on the view with the help of LBTATools (a pod) with this func...
Erasme asked 11/3, 2020 at 16:57
3
Solved
I want to display a SwiftUI Image with a number. I might do so like this:
let number = 13
Image(systemName: "\(number).square.fill")
However, not every number has an SF Symbol — what if I wanted...
Stutsman asked 4/8, 2019 at 10:24
3
Solved
I am working on an app that shows all the features available in SwiftUI. As part of it, I wanted to display all the SF Symbols that are available. I was wondering if there was a way to do it easily...
Wolpert asked 7/8, 2020 at 22:25
4
I'm confused on how to use SF Symbols in text in an iOS project. I have a UIButton that uses a symbol just fine using UIImage systemImageNamed:. I would like to display a message about that button ...
Christianize asked 11/10, 2019 at 12:12
4
I have the following pre-packaged, system SF image:
UIImage(systemName: "location.fill")
It may seem trivial, but how can I resize it to make it bigger? Thank you.
Jailbreak asked 29/3, 2020 at 6:2
3
Solved
In SwiftUI, you can change the icon's color using foregroundColor modifier:
Change the stroke/fill color of SF Symbol icon in SwiftUI?
Is there a way to change the color in UIKit? I looked up the d...
Saintpierre asked 6/10, 2019 at 9:46
8
I am looking for a way to change the stroke / fill color of an SF Symbol icon in SwiftUI.
I have tried .background(Color.red) but that just changes the background of the whole icon (no change is ap...
Boyer asked 21/6, 2019 at 19:34
8
Solved
I have this
Image(systemName: "arrow.right")
But how do I make it bold, semibold etc?
I am using the new SwiftUI.
Teenateenage asked 9/6, 2019 at 22:8
5
Solved
How do I set the size of a SF Symbol in Xcode 11 using SwiftUI?
Teresitateressa asked 3/8, 2019 at 21:19
3
Solved
I am trying to change the color of clear(transparent) part inside of a SF Symbol called delete.left.fill. So far I've tried is as follows
Button(action: { return }, label: {
Image(systemName: "de...
Rationalism asked 1/2, 2020 at 0:40
3
I am trying to make a website and was hoping to use Apple's SF Symbols for some icons, however I can not find a way to get SF Icons onto a website, I downloaded the app and copied the icon however ...
Odrick asked 27/9, 2020 at 1:36
2
Solved
I am using XCode System Images (SF Symbols) for UITabBarItem Images. I'd like to remove the UITabBarItem Title which I have done. But also move the UITabBarItem Image down slightly.
In the past w...
Bronny asked 25/3, 2020 at 5:18
9
Solved
Where can I find all the system images that are available in the initializer Image(systemName:)?
I've only been using "chevron" and "star.fill" so far, as discovered in Apple's ...
Wagtail asked 9/6, 2019 at 13:31
8
Solved
I am updating the icons in my app. After I heard Apple released an icon font named SF Symbols with iOS 13, I was wondering if I can only use them in iOS 13 or if it is possible to use them in lower...
Litigable asked 4/6, 2019 at 18:6
1
Solved
How can i change filled icon to not filled on TabView tabItem in iOS 15 Xcode 13?
It seems now that the icons are filled by default...
My code :
import SwiftUI
struct Test_Home_V: View {
var body...
Akihito asked 24/9, 2021 at 18:19
1
Solved
At WWDC 2021 Apple announced SF Symbols 3, which will support new multi-color SF Symbols in iOS 15 and macOS 12.
New color-rendering modes that add depth and emphasis to a symbol through layer ann...
Sanatory asked 23/9, 2021 at 17:42
2
Solved
I have this simple SwiftUI code. I want all symbols to be aligned centered, just like the cloud symbol.
struct ContentView : View {
var body: some View {
HStack(alignment: .center, spacing: 10.0...
Activity asked 13/6, 2019 at 10:3
1
After reopening an older project in Xcode 12.5 and updating the project settings, to get rid of the warning telling me to do so (it only updated some localization settings), I see a lot of error me...
Goofy asked 21/5, 2021 at 13:48
2
Solved
I have an app which supports both English and Japanese locales. There, I am creating a button and set an UIImage to it, which uses a SF Symbol.
let image = UIImage(systemName: "textbox")!...
Dahna asked 31/8, 2021 at 10:20
3
I can't use an SF Symbol as an asset for a tab bar icon.
I tried using the GUI to drag and drop the file. I'm unsure of how to add it programatically.
I expected to be able to drag/drop but it wo...
Fawn asked 9/6, 2019 at 2:49
3
Solved
I am using SF Symbols images as tab images in my iOS app by assigning them as follows:
self.tabBarItem.image = UIImage(systemName: "ellipsis")
This results in all images being top-aligned, but ...
Overwhelming asked 1/10, 2019 at 12:51
1
I have a UIImageView in a UICollectionViewCell. I am using auto layout to set it to the top left of the cell with fixed width and height.
When I set the image on the image view, from an image in ...
Sammer asked 16/2, 2021 at 12:28
1
Solved
You can set a system image(SF Symbol) in UIKit with UIImage(systemName: "pencil"). For macOS apps you can set a system image in storyboard. However, I couldn't find a way to set a system ...
Luiseluiza asked 19/2, 2021 at 16:41
7
Solved
SF Symbols provides a set of over 2,400 consistent, highly configurable symbols you can use in your app. Apple designed SF Symbols to integrate seamlessly with the San Francisco system font, so th...
Thinker asked 24/9, 2019 at 10:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.