12,510 questions
- Bountied 2
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
71
views
How to apply the iOS 26 "Liquid Glass" swipe transition effect like Camera Mode or Safari Private Mode switcher natively?
I am looking for the specific native API or implementation approach to replicate the horizontal swipe interaction found in two specific iOS system apps:
iOS Camera App
The "Mode Switcher", ...
3
votes
1
answer
132
views
+100
How to reliably prevent screenshots on iOS in Kotlin Multiplatform (Compose Multiplatform)?
I'm building an app using Kotlin Multiplatform (Compose Multiplatform) and need to prevent screenshots on sensitive screens (QR codes) for security reasons.
What Works:
Android - Using FLAG_SECURE ...
3
votes
1
answer
204
views
+50
iPadOS 26 unable to set different orientations in different VC (worked on iPadOS 18, and worked on iPhone)
I have a home VC which should be portrait, then it can push a game VC which is landscape. I need to force interface to rotate to landscape when push the game VC, and then rotate back to portrait when ...
-1
votes
1
answer
57
views
UINavigationBar large title left aligned and vertically centered on latest iOS but not on older iOS (iPhone X) [closed]
I am customizing a UINavigationBar using UINavigationBarAppearance.
My goal is:
Title should be left aligned
Title should be vertically centered inside the navigation bar
Behavior should be consistent ...
1
vote
1
answer
99
views
Rounded corner of a cut-out arc using UIBezierPath without off-setting the arc centre
(This question is a sequel to this one—I'm trying to figure out how to adapt the code to new circumstances.)
I have a code that produces this shape:
The code is extracted into a function, producing ...
2
votes
1
answer
109
views
Rounded corner of a cut-out arc using UIBezierPath
I'm drawing a cut-out hole in CAShapeLayer using UIBezierPath, this is the code I have so far:
let view = UIView(
frame: CGRect(origin: .zero, size: CGSize(width: 500.0, height: 500.0))
)
view....
0
votes
0
answers
150
views
How to avoid UINavigationController push transition safe area animation in compact UISplitViewController on iOS 26?
Question
How to avoid an unexpected layout animation during push transition on iOS 26? Is there any possible workaround?
Details
Having a master-detail view with a navigation stack used to be ...
Advice
0
votes
0
replies
39
views
How to implement Apple Music style search bar transition in UIKit (iOS 26+)?
I am trying to replicate the search bar behavior found in the native Apple Music app using UIKit.
I have searched through the official Apple documentation and various online resources, but I haven't ...
0
votes
0
answers
41
views
Collection view interactive keyboard dismiss mode acts as interactive with accessory
Here follows a UICollectionViewController with compositional list layout and 10 cells that contain a text field that have a red input accessory view.
import UIKit
class CollectionViewController: ...
1
vote
1
answer
61
views
iOS 26 - Swipe to dismiss in a navigation controller by starting the swipe at the left edge of the screen and not center of screen
In my app you can swipe from left-to-right on the left edge of the screen to dismiss a UIViewController in a UINavigationController.
But now in iOS 26, you can start the swipe from anywhere on the ...
1
vote
1
answer
206
views
Adjust UINavigationBar's UIBarButtonItem size and margin in iOS 26
I want to adjust the size of my navigation bar button item. Here's a minimum repro code:
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
...
-2
votes
1
answer
170
views
How can we disable swipe back to dismiss a UIViewController in iOS 26? (UIKit)
This doesn't work anymore on iOS 26 to disable swipe back in a navigation controller:
interactivePopGestureRecognizer.isEnabled = false
How can we disable swipe back to dismiss a UIViewController in ...
1
vote
0
answers
47
views
Custom UITabBar badge color ignored when switching to Map tab in iOS 18+
I found a reproducible issue in iOS 18+. When a SwiftUI TabView contains a Map (MKMapView), any custom UITabBarAppearance badge color is ignored while that tab is active. As soon as you switch to a ...
0
votes
0
answers
104
views
How to achieve a frosted glass label effect like iOS 26 system
I want to create a label that looks like the one in my uploaded image (a "time label").
I’ve searched through the iOS documentation but couldn’t find anything relevant.
How can I implement this kind ...
0
votes
0
answers
66
views
UIKit Toolbar showing behind tabbar in ios26
See SWiftUI Problem. I'm seeing now the same problem with UIKit.
Here are a couple of screen shots:
Here's a very basic Scene Delegate that creates a tab controller with three view controllers. The ...