stack-overflow-swift-questions-2026-05-15
Swift · · 7 min read
Title: Newest 'swift' Questions
URL Source: http://stackoverflow.com/questions/tagged/swift?tab=newest
Markdown Content:
Newest 'swift' Questions - Stack Overflow
-
Products
-
Stack Internal Implement a knowledge platform layer to power your enterprise and AI tools.
-
Stack Data Licensing Get access to top-class technical expertise with trusted & attributed content.
-
Stack Ads Connect your brand to the world’s most trusted technologist communities.
-
Releases Keep up-to-date on features we add to Stack Overflow and Stack Internal.
Loading…
* [Tour Start here for a quick overview of the site](http://stackoverflow.com/tour)
* [Help Center Detailed answers to any questions you might have](http://stackoverflow.com/help)
* [Meta Discuss the workings and policies of this site](https://meta.stackoverflow.com/)
* [About Us Learn more about Stack Overflow the company, and our products](https://stackoverflow.co/)
current community
* [Stack Overflow](https://stackoverflow.com/) [help](https://stackoverflow.com/help)[chat](https://chat.stackoverflow.com/?tab=explore)
* [Meta Stack Overflow](https://meta.stackoverflow.com/)
your communities
Sign up or log in to customize your list.
more stack exchange communities
-
1. [Home](http://stackoverflow.com/)-
Communities for your favorite technologies. Explore all Collectives
-
Stack Internal Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Try for freeLearn more 3. Stack Internal 4. Bring the best of human thought and AI automation together at your work. Learn more
Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
336,201 questions
NewestActiveBountiedUnansweredMore
-
Unanswered (my tags)
Filter
Filter by
- [x]
No answers
- [x]
No upvoted or accepted answers
- [x]
No Staging Ground
- [x]
Has bounty
Days old
Sorted by
Newest
Recent activity
Highest score
Most frequent
Bounty ending soon
Trending
Most activity
Tagged with
My watched tags
The following tags:
Apply filter
Cancel
0 votes
0 answers
8 views
CBCentralManager delegate never fires on iOS 26, auth status returns 0 but permission dialog never appears
I'm trying to scan for BLE devices using CoreBluetooth on iOS 26.5. The permission dialog never appears and centralManagerDidUpdateState never fires, despite CBCentralManager.authorization returning 0 ...
- 1
asked 18 mins ago
0 votes
0 answers
58 views
SwiftUI Transferable with FileRepresentation inconsistent share results
I have a ShareLink in my SwiftUI view to share a custom Transferable type, and it is mostly working correctly, but when I choose different options in the share sheet, I get some different behaviors. ...
- 1,160
asked yesterday
1 vote
0 answers
99 views
How can I dynamically load xcframeworks only when they are used, not at the start of the app?
I am distributing a proprietary iOS SDK as a binary xcframework. The SDK includes some features that require other, external dependencies (also xcframeworks) to work. The external dependencies are ...
asked 2 days ago
0 votes
3 answers
106 views
How to achieve the UI of the search tab in the App Store in Swift?
I am trying to make a view whose header section looks just like the one used in the App Store's search tab but I am unable to do so. I can't use .navigationTitle because it scrolls as the user scrolls ...
- 282
asked 2 days ago
Best practices
0 votes
1 replies
73 views
How do you make directories
I'm making a menu to allow users to kind of "flow" to certain guides or big text blocks. Because directories are inherently hierarchical, I know I need a tree structure. However, my starting ...
- 1
asked 2 days ago
-4 votes
1 answer
76 views
How do apps like Alarmy handle AlarmKit volumes? [closed]
I am currently building an app, as an alternative to Alarmy, since I have a hard time waking up in the morning. I have tried building with AlarmKit, with an active AVAudioSession maintained in the ...
- 43
asked 2 days ago
Best practices
0 votes
1 replies
83 views
How to detect app install source / deferred deep link on Android (Kotlin) and iOS (Swift) after web popup campaign login?
I’m developing a mobile app for both Android (Kotlin) and iOS (Swift), and I need to identify where the app installation came from. Use case On the website, we show a popup like: “Install the app and ...
- 388
asked May 12 at 4:20
0 votes
0 answers
54 views
Unknown Error code 1032 from Apple Intelligence
I'm using Apple intelligence to power suggestions to user of my app. It's a great feature but I'm baffled about this error. Domain=FoundationModels.LanguageModelSession.GenerationError Code=-1 "(...
- 5,724
asked May 11 at 3:01
Advice
0 votes
4 replies
95 views
Need screentime data (swift) to be sent to firebase then accountability partner device
So i'm building a screentime app whereby users can add an accountability partner who will be able to see their total screentime.(no app breakdowns included) . This will require me to send the data to ...
- 43
asked May 8 at 10:05
-5 votes
0 answers
96 views
Passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution [closed]
I'm keeping most information in an actor and I would like to save also a closure in it that I get from func application( _ application: UIApplication, ...
- 11
asked May 7 at 14:18
Best practices
0 votes
2 replies
50 views
Is it possible to set-up a build setting from a pre-action/build phase in Xcode?
I'm not sure what's the best practice around here but essentially the problem I have is I want to have a tool that generate a path (an unix domain socket) and set it in ...
- 45
asked May 6 at 12:14
2 votes
1 answer
130 views
Liquid Glass UIButton Tint(background) Color
On SwiftUI, you could achieve a tinted glass button by creating a custom button style struct SomeButtonPreview: View { var body: some View { ZStack { LinearGradient( ...
- 19
asked May 6 at 10:53
1 vote
1 answer
106 views
Conflict between "Approachable concurrency" vs "nonisolated(nonsending) by Default" vs "Default actor isolation" settings in Xcode
Based on this article, "approachable concurrency" means using main actor by default, and use nonisolated(nonsending) by default. However, in Xcode, there are both "default actor ...
- 548
asked May 5 at 17:56
0 votes
2 answers
140 views
Does "nonisolated(sending) by Default" setting conflict with "Default actor isolation" setting in Xcode 26?
Before Xcode 26, we have 2 global functions: func syncMethod() {} func asyncMethod() async {} The behavior is that syncMethod is non-isolated, and will be called in the same isolation context as the ...
- 548
asked May 5 at 17:44
0 votes
1 answer
73 views
DispatchQueue's closure is @Sendable, how can it access main actor isolated values?
Let's first try this code: func viewDidLoad() { DispatchQueue.global().async { self.view.backgroundColor = red } } This obviously fails in Swift 6, because the closure is @Sendable , meaning ...
- 548
asked May 5 at 16:18



