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

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

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

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 ...
HL666's user avatar
  • 349
-1 votes
1 answer
57 views

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

(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

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

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

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

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: ...
Filippo's user avatar
  • 344
1 vote
1 answer
61 views

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

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() ...
HL666's user avatar
  • 349
-2 votes
1 answer
170 views

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

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

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

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 ...

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

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