Post

Replies

Boosts

Views

Activity

Help Understanding Margins in Custom SF Symbols
Hello! I've been struggling for a while to understand exactly how margins work for custom SF symbols. For example, I'll have two identical svg templates containing near-identical icons (each with a circle outline and a shape in the middle), see attached images. The icons are positioned in the exact same manner in the template, so that the only difference is the symbol inside the circle. When these symbols are exported from SF Symbols and put into Xcode, I noticed that one of the symbols has a slight margin to the right and to the bottom of the symbol, causing it to fall out of alignment with surrounding symbols. I've been trying to eliminate this margin in any way I can think of, but to no avail. Anyone able to offer assistance on how to remove it and/or an explanation as to why it's there?
0
0
516
Apr ’24
How can I get 3.0 symbols to render correctly in Xcode 13?
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!
3
0
1.8k
Sep ’21