Post not yet marked as solved
Hi. How do I get a list of all the available SF Symbol names from iOS using Swift code?
Post not yet marked as solved
Our app has some custom vector symbol images stored in an asset catalog.
Images using these symbols work fine on macOS Catalyst when building/running/debugging locally.
Until we post the macOS catalyst app to TestFlight. The app downloaded from TestFlight does not contain these symbols.
(The same symbols work fine on iOS/TestFlight)
I've verified that the archive that's uploaded to AppStore Connect contains these symbols in the Assets.car resource, which is 1.9MB. The resulting binary downloaded from TestFlight has an Assets.car resource which is 1.5MB.
The asset catalog editor in Xcode does not give a UI to select the idiom for these SVG resources, but the underlying JSON for the asset does specify the "universal" idiom.
So why are these assets being thinned out of the download of the macOS catalyst app?
What am I missing here?
Post not yet marked as solved
Why is it that every time you update SF Symbols, all the fonts previously used get confused and mismatched?
Why is it that every time you update SF symbols, you need to also download the SF fonts all over again?
This is such a big issue that should not be happening. Puts our designs in jeopardy.
Post not yet marked as solved
can I use the san francisco font in my company's logo?
"SF Pro Rounded"...
are there any copyrights? is this legal?
Thanks.
Post not yet marked as solved
I'm trying to make a custom SF Symbol. I've made some new custom symbols successfully, combining existing SF Symbols, so I understand the process. But as soon as I use vector files from my previous work, I get the error, "The provided variants are not interpolatable." - even though it has shapes made with vector path.
Template set up - Variable
I use sketch to work on the template
I have separate layers for Ultralight-S, Regular-S, Black-S
File saved as SVG
What is wrong with my template?
Thanks!
Post not yet marked as solved
I am currently using the latest Mac OS beta, Xcode 13, and iOS 15.
For some reason whenever I add an sf symbol into my app it puts the fill version of the symbol no matter what I do I can't change it.
I've tried creating a custom icon that looks identical through the sf symbols app but nothing is being rendered.
I'm having issues where symbols created using the 3.0 template won't render correctly in Xcode 13.
The symbols look fine in the SF Symbols app, but when I import into Xcode, the symbol is not placed appropriately in the symbol view (it may only show a zoomed-in view of the bottom left part of the symbol, or the symbol won't be in the symbol view at all).
EDIT: Images in comment/answer below.
EDIT2: To clarify, I'm referring to custom symbols.
How can I resolve this issue? Anyone able to point me in the right direction?
Thanks!
Post not yet marked as solved
How do I resolve this issue when trying to re-import a custom SF Symbol into Apple's SF Symbols app? Is there an exact export configuration I'm missing in Sketch or Figma?
Post not yet marked as solved
Hey, Inside the app I'm making user has a option to create and export PDF file. I read the license, but I'm still not sure if I can use SF font and SF symbols for that use case.
Post not yet marked as solved
Be aware, there are many errors / non-existing API's etc. in this session. This is yet the worst session I've seen in this years WWDC. Sorry but I have to be honest.
Post not yet marked as solved
The new SF Symbols palette color feature was working perfectly for me in beta 4, but as soon as I installed beta 5 all my symbols started rendering in a single color. After some debugging, I realized that this is only happening when the image is created via drawRect.
Hopefully this is just a minor bug that will be fixed in the next beta, as I just spent an entire week moving everything over to custom symbols (and I have to render them via drawRect)...
Post not yet marked as solved
Multicolor SF symbols are black in iOS 15 widget. (have a look at the attached pictures 14.5 vs 15.0)
this is how it looks in the code:
Image(uiImage: UIImage(systemName: getIconName(iconId: iconId))!) .resizable().scaledToFit() .frame(width: 20)
Playing around with .renderingMode() doesn't help. Only when I set it to .template and set some color, but I need it to be as it was - multicolor. Is this a bug or a feature ?
Post not yet marked as solved
I am using "checkmark.circle.fill"
I wish to have a blue filled circle with the checkmark being solid black.
For the blue filled circle, I can choose the tinted color as blue.
But, the default SF Symbols "checkmark.circle.fill", its checkmark is transparent.
It looks as follow
So, I try to use "SF Symbols beta", to create custom icon.
During editing, the thing seems like what I want
Blue filled circle
Solid black color for checkmark
Then, I use "Export Symbol...", using Template Version 2.0 (XCode cannot recognise Template Version 3.0)
It seems like the checkmark fall back to transparent color.
When I import it to XCode
It seems like the "solid black color" on the checkmark is gone. When I use this custom icon in my app, it gave same result as "checkmark.circle.fill" (the checkmark still remain as transparent)
Doesn't anyone know how to resolve this issue? Thanks.
Post not yet marked as solved
I was very happy when I saw this:
"You can embed a symbol inside a run of text by using string interpolation."
Text("Thalia… \(Image(systemName: "chevron.forward"))")
Unfortunately this is a feature of SwiftUI and not generally available string interpolation. In places where a string is expected like an Apple Watch Compilcation Text Provider
CLKSimpleTextProvider(text: "\(Image(systemName: "heart"))")
this doesn't return an inline Image but
"Image(provider: SwiftUI.ImageProviderBox<SwiftUI.Image.(unknown context at $18487da20).NamedImageProvider>)"
So…
Is there a way to include an SF Symbol in a regular string to wiggle it into a CLKSimpleTextProvider?
I built my app for iOS 13 and use the system images in my storyboard. With Xcode 12, I see these deprecation messages, even though my deployment target is 13.
Main.storyboard: warning: Deprecations: SF Symbol ‘speaker.3.fill’ is deprecated, use ‘speaker.wave.3.fill’ instead.
If I address these warnings, will my app display the correct symbols on iOS 13?