336,216 questions
0
votes
0
answers
8
views
I think it closer to success interactive widget in swiftui, but what wrong with button?
The notes: Last time, I posted, it was a simple designed the UI. However, this post has updated.
I studying the interactive widget tutorial in the swiftui. So, now I am tried to write my code to see ...
0
votes
0
answers
25
views
How can I access 'package' members declared in a Swift package from an Xcode project?
I am building a framework for others to use. The framework itself is not built with SPM, but with Xcode. (It has a .xcodeproj file.)
Now I want to use macros in this framework. As far as I know, both ...
-3
votes
0
answers
43
views
iPad Pro M4 giving wrong value for layerPointConverted for ultra wide angle [closed]
I am using iPad Pro M4 device to apply exposure point to the camera. While converting layerPointConverted from 0 -1 range to device size point it is giving wrong value. But if same code is used for ...
Advice
0
votes
0
replies
38
views
iOS 26 Tab bar appears above pushed detail view during interactive pop when hidesBottomBarWhenPushed is true
I'm seeing a strange issue in iOS 26 related to UITabBarController, where tab bar appears above pushed detail view during swiping back.
Steps to Reproduce
Navigate to the detail view controller from ...
Advice
1
vote
3
replies
57
views
What are the available approaches for binary obfuscation in iOS apps (Swift + Objective-C)?
I’m researching binary-level obfuscation techniques for iOS applications to better protect compiled code against reverse engineering.
Most discussions I’ve found focus on source-level obfuscation (e.g....
-3
votes
0
answers
53
views
How can I render a mesh or any color in macOS lockscreen under the clock but above the desktop image? [closed]
I'm trying to simulate the iOS effect where the wallpaper darkens and changes color matching the album art of a song when the album art is expanded, I'm trying to achieve the same thing on macOS Tahoe ...
2
votes
1
answer
120
views
Strange empty circle in Google Places autocomplete for iOS 26
After updating my app with the iOS 26, the Google Place picker autocomplete automatically added a empty circle in the left side:
How I can remove or add an image instead of that empty with circle ...
-2
votes
0
answers
57
views
Live Activity Stops Updating After 30 Seconds in Background During Audio Playback [closed]
I developed a music app that plays offline audio and displays lyrics using Live Activities.
According to ActivityKit documentation, Live Activities can be updated from the background. However, in my ...
0
votes
0
answers
40
views
.keyboardShortcut in SwiftUI Sheet not working when presented from NavigationSplitView detail wrapped in container view (Mac Catalyst)
I'm building a Mac Catalyst app using SwiftUI. I have a .keyboardShortcut modifier on a Button inside a Sheet. The shortcut works fine in most cases, but fails silently when the sheet is presented ...
0
votes
1
answer
68
views
SwiftUI Date.FormatStyle doesn't work with alternate Calendars
I'm trying to get SwiftUI to format dates in two different calendars using Date.FormatStyle, but I can't get it to work. What am I missing? Here's a minimal example:
import SwiftUI
struct ContentView:...
0
votes
1
answer
66
views
RealityKit Complains "Could not locate file 'default-binaryarchive.metallib' in bundle."
I am getting following warning while woking with UIView ArVİew app:
Could not locate file default-binaryarchive.metallib in bundle.
The thing is in an other UIView + ArVİew app we don't receive it.
...
0
votes
1
answer
71
views
Flutter iOS: USSD code with * and # not launching in phone dialer (works on Android)
hello,
Flutter iOS: USSD code with * and # not launching in phone dialer (works on Android)
flutter ios ussd url-launcher tel-uri PROBLEM
My Flutter app executes USSD codes for mobile money recharges....
Best practices
0
votes
3
replies
96
views
How to prevent individual errors in a for try await loop without stopping the entire sequence?
During a pre-interview call with a company, I got asked a couple questions about swift concurrency. One of the questions was:
When using for try await to iterate through an async sequence, how do you ...
0
votes
1
answer
72
views
LocalizedStringResource is passed in an Interpolated String with an invalid segment
Trying to localize an interpolated string using Strings Catalog. Strings must be represented as LocalizedStringResource here, there's no other option.
// Error: 'LocalizedStringResource' is passed in ...
0
votes
1
answer
54
views
Swift - performBatchUpdates
I noticed that when I update the size of a table cell, the table cell below sometimes seems to disappear. Could you please tell me how to fix this? Here's an example of such a layout. This behavior ...