All Questions
Tagged with swift-language or swift
336,272 questions
- Bountied 3
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
10
views
View controller title color not inverting based on background
Using Xcode 26.0.1 and running on iOS Simulator "iPad (A16)" with iOS 26.0.1.
I am presenting a view controller as Full Screen in a navigation controller.
It has a leftBarButtonItem, ...
-1
votes
0
answers
40
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 ...
5
votes
1
answer
71
views
AVFoundation Custom Video Compositor Skipping Frames During AVPlayer Playback Despite 60 FPS Frame Duration
I'm building a video editor in Swift using AVFoundation with a custom video compositor. I've set my
AVVideoComposition.frameDuration to 60 FPS, but when I log the composition times in my startRequest ...
-1
votes
0
answers
64
views
macOS displaying NSPopover an Alert is shown
I have a macOS app that appears only in the status bar as nspopover. The popover opens and closes correctly in all cases except one: when popover is hidden and an alert is displayed within the app, ...
0
votes
0
answers
31
views
iOS archive failed in GitLab CI/CD: "SWIFT_OPTIMIZATION_LEVEL=-O expected -Onone (React-jsitracing)"
I’m trying to build and archive my React Native iOS app using GitLab CI/CD, but the build fails during the archive step. Below is the error message I get:
note: Disabling previews because ...
3
votes
1
answer
49
views
RealityKit how to support post process with custom camera
I have this following minimal reproducible code:
import UIKit
import RealityKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let arView =...
-1
votes
0
answers
31
views
Autofill passkey instead of login/password on iOS app [closed]
I have an app where I can login via passkey or login/password. The issue is when I'm tapping the login field the keychain offers me to use password instead of passkey. The issue will dissappear if I ...
0
votes
1
answer
35
views
iOS Universal Links not triggering scene(_:continue:) when app is already running [duplicate]
I'm trying to handle iOS Universal Links in my SwiftUI app.
Cold start: when I open the link from Safari or Notes and the app is closed — everything works fine.
Hot start: when the app is already in ...
0
votes
2
answers
102
views
All TipKit Views are not showing with button action
I have 4 tips to show in screen so i have created like this
code:
struct TipContent {
let title: String
let message: String
}
// MARK: - TipKit Manager
class TipKitManager: ObservableObject {
...
-6
votes
1
answer
67
views
No such module 'IntelligenceFoundation' [closed]
I am trying using Foundation Models
in Swift, but I get Xcode error "No such module 'IntelligenceFoundation'"
How to properly import needed?
(the code generated using claude.ai with prompt
...
0
votes
1
answer
40
views
MacOS keychain access group failing with kSecUseDataProtectionKeychain
I've been using a Mac keychain access group so that my main app and helper app can share common user settings and keychain items. This appears to have been storing and reading data in the main app ...
6
votes
0
answers
69
views
RealityKit how to filter entities in post process
I am implementing a "glow" effect in RealityKit. I followed this open source library which is in SceneKit: https://github.com/laanlabs/SCNTechniqueGlow. The basic idea is to create a "...
0
votes
1
answer
106
views
Tab View on Rotation to Landscape Causing Color to Fade and Title to Shrink
I am having some trouble with tab views with a color header and a large title. Upon first tab selection, the large title with green header appears great. But once the iPhone is rotated from portrait ...
-2
votes
0
answers
117
views
Tab bar background tint in iOS 26 [closed]
Since iOS 26 the tab bar uses the new Liquid Glass design. Is it possible to give the tab bar background a tinted Liquid Glass?
When using the glassEffect modifier we can simply provide a tint:
....
1
vote
1
answer
55
views
iOS internationalization: What's the meaning of the placeholder?
Within "Localizable.xcstrings" string-catalog, for example "%lld click" or even more cryptic "%1$@-%2$@"?
What's there meaning? How have it to read and understood?