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

I'm experiencing an issue with a UIButton using UIButton.Configuration.prominentGlass() on iOS 26. When I present a modal using iOS 18's .zoom transition and then interactively dismiss it (swipe down),...
1 vote
1 answer
117 views

In iOS 26, I need my UIButton to automatically adapt the icon color based on the content behind it. For example, if there is a scrolling table view behind it and the content becomes light, then the ...
7 votes
2 answers
292 views

I need to show occasional long texts in a UIButton in the section header of my UITableView. The following simple example code shows the issue: import UIKit import SnapKit class ViewController: ...
1 vote
2 answers
509 views

I have an iOS 26 app in which I have defined the app wide tintColor to be green: UIView.appearance().tintColor = UIColor.systemGreen I have a done button in my navigation bar whose style is ....
1 vote
2 answers
98 views

Here's a small demo app that configures a button in the interface: class ViewController: UIViewController { @IBOutlet var button: UIButton! override func viewDidLoad() { super....
matt's user avatar
  • 540k
0 votes
2 answers
132 views

I’m trying to create a button in SwiftUI that has a rounded border and includes an additional label (e.g., "Save 50%") positioned at the top-left. However, I need the border to "break" where this ...
-1 votes
1 answer
82 views

How can we change the font size AND round corners of a button on a storyboard? Button of style "gray" has a default value of rounded corners. That is good. But style "gray" DOES ...
-1 votes
1 answer
142 views

I have a volume toggle button. When I press the button, then pause or play is called with some fading. The problem is that if I quickly press the button twice, for example, pause and then playback, I ...
0 votes
1 answer
73 views

I have a button and an action. I also have an image for the button in its normal state and when it is pressed. These are .svg images. My button is to turn the sound mute/unmute. So I have two images ...
-1 votes
1 answer
71 views

I have a UIButton in my UIViewController in my storyboard, and I'm trying to change it's background image, using transition animation: extension UIButton { func setBackgroundImageWithFade(_ image: ...
0 votes
3 answers
96 views

I am trying to create the button similar to the button shown in image. Button has 2 colours inside it (like background color). 1 is transparent and other color is light-orange. The light-orange color ...
-1 votes
1 answer
157 views

I have a UIButton with both a title and an image. The button's size changes dynamically, but the title text and image inside the button do not resize proportionally to match the button's size. I want ...
0 votes
2 answers
184 views

This is my button: import UIKit class PassButton: UIButton { var videoVC: VideoGameVC? required init(isEnabled: Bool = false) { super.init(frame: .zero) self....
0 votes
1 answer
79 views

I have created two sets of UIButtons, with regular constructors (top StackVew on the attached image) and with UIButton.Configuration (the bottom StackView). Both have icons created from a .png file. ...
Petro Shm's user avatar
  • 351
1 vote
1 answer
61 views

The UIStackView doesn't have the correct .fill distribution if subviews are UIButtons created with UIButton.Configuration. In the example below I created two UIStackView with subviews of UIButton type....

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

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