336,314 questions
0
votes
0
answers
22
views
How can I read the setting of the Liquid Glass design mode?
In iOS 26.1, a new system setting allows users to toggle the Liquid Glass design between 'Tinted' and 'Clear' modes.
I need to programmatically read this preference to adapt my UI. Which specific ...
1
vote
1
answer
32
views
How do I remove the square white background behind the rounded corners of the keyboard in Xcode 26?
check the screen shot
As shown in the screenshot, I haven't added any extra definitions or styling. The white background behind the rounded corners appears in some places but not in others. Is there a ...
0
votes
0
answers
16
views
Navigation BarButtonItem color changed in some screens
The minimum target of my app is iOS 26, and used default navigation bar with buttons throughout the app. Since iOS 26, I’ve noticed that the UIBarButtonItem text color changes on some screens. Earlier,...
-4
votes
0
answers
30
views
With an Xcode project in despair because of package [closed]
I am only relatively new to the community. However, I can't get a few packages together and now I don't know how to get any further and I'm still at the beginning of my project, I would also be ...
1
vote
1
answer
31
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
2
answers
54
views
How do I optimize a view that potentially contains thousands of views?
I have a grid/tile view implemented like below:
struct Grid: View {
let size: Int
var body: some View {
LazyVStack(spacing: 0) {
ForEach(0..<size) { _ in row }
}...
1
vote
0
answers
36
views
Switching default channels using Core Audio
I wrote a Swift macOS app to control a PCI audio device. The code switches input and output channels by default. As soon as I launch the Audio-Midi Setup utility and switch channels, my code stops ...
0
votes
0
answers
40
views
CLGeocoder deprecation: How can I obtain geocoding bounds in MapKit?
I am currently using CLGeocoder in weather app on iOS to handle user's location queries. I then use the region property of the resulting CLPlacemark objects to obtain the region corresponding to the ...
0
votes
0
answers
62
views
How can I show a movable webcam preview above all windows in macOS without activating the app
I'm building a macOS app using SwiftUI, and I want to create a draggable floating webcam preview window
Right now, I have something like this:
import SwiftUI
import AVFoundation
struct ...
1
vote
0
answers
69
views
iOS 26.1: In TabView, NavigationStack animation breaks when intercepting tab selection to show fullScreenCover
I'm trying to show a fullScreenCover when the user taps the third tab instead of actually switching to that tab. The issue is that resetting selectedTab = oldValue in onChange breaks the ...
1
vote
0
answers
56
views
Using @Environment inside a ViewModifier causes a deep SwiftUI crash — is my theme setup fundamentally wrong?
I use a custom AppTheme type and inject it via a custom EnvironmentKey. Views can access the theme using @Environment(\.appTheme) or override it explicitly.
While this work fine in most cases it ...
0
votes
1
answer
52
views
Facebook iOS SDK App switch login not working
I've issue in v18.0.2 when my app switch to facebook app.
I'm using AppDelegate.
My issue is only user authorize open Facebook App, user authorize in WebView is fine.
I research and tried a lot but ...
-2
votes
0
answers
60
views
JSON decoding issue [duplicate]
I have a sample JSON that I am trying to decode to models in my Swift. But it keeps failing and giving me error:
Fatal error: 'try!' expression unexpectedly raised an error: Swift.DecodingError....
-3
votes
1
answer
51
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
votes
1
answer
87
views
Flutter app shows black screen on iOS device (works on Android, no errors)
I'm trying to run my Flutter app on a real iOS device.
The app installs successfully, Firebase initializes, and logs show normal navigation (Splash → Onboarding).
But the screen becomes completely ...