12,510 questions
-1
votes
0
answers
17
views
Unwanted animations appear on UIButton (iOS 26)
https://youtube.com/shorts/YXl0ijziTyM?si=RMP2ZQuyFlVsfg8e
After the iOS 26 update, unwanted animations appear on UIButton.
I'm using the attributedTitle property of UIButton.Configuration to change ...
0
votes
0
answers
60
views
How to achieve a frosted glass label effect like iOS 26 system
I want to create a label like my upload img` time label
I have searched through the iOS documentation and did not find any relevant information. How should I write the code? By the way, I am using ...
1
vote
1
answer
56
views
UIVisualEffectView with UIGlassEffect with only 2 rounded corners
Trying to make a sheet-like view that attaches at the bottom to another view so I'd like to have only the top two corners rounded.
This works for a blurred effect:
let glassView = UIVisualEffectView(...
1
vote
0
answers
41
views
How to present an action sheet without an arrow from a UIButton in iOS 26?
I'm trying to present an action sheet from a regular UIButton on iOS 26 without showing the popover arrow.
What I’ve tried so far:
I watched the WWDC 2025 session “Build a UIKit app with the new ...
Advice
0
votes
0
replies
32
views
Implementation of view that covers predictive text panel
I am trying to place a custom view so that it will cover, partially, predictive text panel from the iOS keyboard. However i can't seem to manage implementing it, the predictive text panel is always ...
-1
votes
0
answers
33
views
UISwitch doesnt switch in snapshot testing [closed]
In snapshots UISwitch doesnt switch to ride side, when i make it display(isOn: false)
Its just placed on the left side, but the color is gray, like its disabled. How can i snapshot my UISwitch with ...
0
votes
0
answers
63
views
How to make iOS render a screen at the external display resolution on both iPhone and external display?
I have an issue where the "ExternalDesktopView" is being rendered at iPhone resolution at full screen and on the TV. For example, it appears like normal iPhone mirroring like a huge black ...
1
vote
0
answers
52
views
Missing delegate callbacks when text is auto-replaced (suggested words or double-space “.” shortcut)
I’ve built a custom text editor using TextKit 2, and I’ve noticed that some text changes triggered by the system keyboard are not traceable through the usual delegate methods or text editing lifecycle....
0
votes
1
answer
64
views
UITextField selects all text on focus when the content is long — how to keep the caret at the end?
I’m building a custom input field using UITextField. When the user taps to focus the field and the text is long, the entire text becomes selected by default. This is the same behavior you can see in ...
0
votes
0
answers
179
views
Navigation bar back button random background behaviour in iOS 26
Navigation bar back button sometimes has a white background on its liquid glass layer when I navigate to the screen.
I want it to be of clear background as shown below.
I am not setting any tint or ...
0
votes
0
answers
65
views
SwiftUI focusable doesn't work on iPad with external keyboard
I have a custom input view in my app which is .focusable(). It behaves similar to a TextField, where it must be focused in order to be used.
This works fine on all platforms including iPad, except ...
0
votes
1
answer
111
views
How can I change backgroundColor of searchBar inside a navigationItem?
In iOS 26 navigationItem.searchController.searchBar.searchTextFIeld.backgroundColor is only affected if navigationItem.hidesSearchBarWhenScrolling is set to false (which is not what I want). However, ...
0
votes
0
answers
50
views
iOS 26 UITargetedPreview not responding to touches
We have a UICollectionView whose cells have custom context menu highlight previews.
In the delegate method collectionView(_:contextMenuConfiguration:highlightPreviewForItemAt:) we build a ...
0
votes
1
answer
518
views
iOS 26: System back button in UINavigationBar shows unwanted “glass” background — how to remove or replace it?
Since updating to iOS 26, the system back button in my UINavigationController now has a rounded, translucent glass-like background (a “magnifying glass” capsule).
This breaks my app’s design, where I ...
4
votes
1
answer
347
views
Unselected UITabBar item's icon color does not change in iOS26
When trying to render a UITabBarController with custom tint color for selected and unselected items, I am getting correct behaviour on version prior to iOS26. But on iOS26 tint is correctly applied on ...
0
votes
2
answers
680
views
iOS 26. The problem with displaying the UISplitViewController
In iOS 26, the UISplitViewController primary or detail ViewController is displayed in modal mode, which is not correct. How to remove it?
Code for my UISplitViewController subclass:
override func ...
1
vote
2
answers
365
views
How to create more than 5 tabs in UITabBar on iOS 26
I’m trying to create more than 5 tabs in a UITabBarController on iOS 26. By default, the 6th tab and onwards get grouped into the “More” tab.
I’ve already tried using the regular trait collection ...
0
votes
1
answer
152
views
iOS 26 Custom Keyboard pushed upward for <1 second when switching keyboards
I am building a custom iOS keyboard using UIInputViewController with UIStackView for layout.
There is a strange UI glitch when switching keyboards (e.g. to emoji or system keyboard):
The custom ...
0
votes
1
answer
41
views
Mac-catalyst remove tabbing
I developed my App originally with Xcode 12.4, meaning mac-catalyst 13.6 and/or iOS 13.6.
However, after upgrading to Xcode 16.4, meaining mac-catalyst 15.x, now the Root-window suddenly shows tabbing:...
3
votes
1
answer
2k
views
Can you change the way iOS 26 renders buttons on UINavigationBar?
Since updating my Xcode and building my app for iOS 26, the buttons on the UINavigationBar look terrible, in my opinion, with large rounded rectangles around them. Can anything be done to revert these ...
0
votes
2
answers
82
views
How to make UIView fit the size of its contents?
I have the following code
func setupUI() {
self.view.backgroundColor = .white
let titleLbl = UILabel()
titleLbl.text = book.title
titleLbl.textColor = .black
...
1
vote
2
answers
54
views
Function Calling itself Multiple Times without any Apparent Reason
I’m working on an iOS app where I have an AnyArtboardEvent method that pushes snapshots into my undo/redo stack.
Here’s a simplified version of it:
func AnyArtboardEvent(mergedImaged: UIImage = ...
1
vote
1
answer
225
views
UIBarButtonItem Doesn't Reset the Badge
I'm currently working on integrating new iOS 26 features into my app, and so far, the process has been really exciting. However, I've encountered an issue when updating the badge of a UIBarButtonItem, ...
0
votes
2
answers
1k
views
Navigation bar back button “jumps” on first push from TabBar root on iOS 26 Beta
Short description / problem
When I push from a tab bar root navigation controller to a new screen, the navigation bar back button jumps (moves out of place) briefly during the push animation and then ...
9
votes
1
answer
3k
views
iOS TabBar gets new style but content does not extend beneath it on iOS 26 / Liquid Glass [closed]
I have an existing iOS app with an old code base and a lot of UIKit with some SwiftUI mixed in. The main view controller is a UITabBarController and migration to Xcode 26 / iOS 26 / Liquid Glass is ...