Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
3 votes
1 answer
101 views

This is super easy with UIKit (imageWithTintColor:) but I need tinted monochrome NSImage in AppKit and no such equivalent exists. I know there is private method in AppKit -[NSImage ...
2 votes
1 answer
160 views

I'm trying to implement a ControlWidgetButton on iOS 26, and cannot seem to have a custom symbol appear. As a simple test in SFSymbols, I first duplicated the viewfinder icon as a custom symbol named ...
0 votes
0 answers
93 views

I'm receiving an "unrecognized selector sent to class" error when trying to set variableValues of a custom SF Symbol in SwiftUI and I can't find any specific documentation about support in ...
1 vote
2 answers
123 views

Consider the following code: struct ContentView: View { var body: some View { NavigationStack { Text("Text") .navigationTitle("Title") ...
Raahs's user avatar
  • 111
2 votes
0 answers
105 views

SFSymbols is the official icon library that ships with Apple's SDKs. While being of very high quality and flexible, it's pretty short on symbols, compared to other libraries. I wonder whether there is ...
DrMickeyLauer's user avatar
2 votes
2 answers
293 views

In code like this, the varying aspect ratios and side margins of SF Symbols cause the starting positions of the text to be misaligned. How can I fix this? I want to avoid setting fixed frames to ...
0 votes
0 answers
81 views

I use this code to create custom tabBar: class TabBarViewController: UITabBarController { override func viewDidLoad() { super.viewDidLoad() generateTabBar() ...
user avatar
1 vote
1 answer
1k views

I am trying to get my SF Symbols to animate when I click the tabs at the bottom of the screen. I have it set up where if the user is signed in, it will show the TabView of "Home" and "...
1 vote
0 answers
109 views

So it’s really hard to customise SwiftUI List swipe actions. All I want is an SF Symbol checkmark with a bold font weight but iOS insists on rendering it at a regular weight. Normally you can change ...
2 votes
1 answer
495 views

I want to achieve this animation where the wifi symbol is slashed: It's partly working, but the wifi bars are scaling and moving I'm using this code: Image(systemName: showSlash ? "wifi.slash&...
Tieme's user avatar
  • 66.1k
0 votes
2 answers
225 views

How to animate the transition for likes, but not for unlikes? @State private var liked = false Button("Like", systemImage: liked ? "heart.fill" : "heart") { liked....
Jack Guo's user avatar
  • 4,774
0 votes
1 answer
303 views

I want to set the background image of the "atom" symbol to white with opacity and put the in the centre of the circle. Currently I have two separate snippets of code and can't workout how to ...
0 votes
2 answers
2k views

Is it possible to apply a .symbolEffect (ie, the animation such as pulse) to an SF system image to a UIButton in UIKit, ie not a SwiftUI app or insert ? (Pls note that there are a 100 questions ...
Fattie's user avatar
  • 9,792
0 votes
2 answers
49 views

I created a HStack to include 3 buttons for TTS speaking control. However, when the middle button state is changed between play and pause. As the width of these 2 buttons is different I think, then ...
Zhou Haibo's user avatar
  • 2,178
0 votes
1 answer
943 views

I have a SwiftUI Image view structure inside view Image(systemName: TabBarItem.chat.iconName) .resizable() .symbolVariant(localSelection == .chat ? .fill : .none) ...

15 30 50 per page
1
2 3 4 5
...
10

AltStyle によって変換されたページ (->オリジナル) /