688,598 questions
0
votes
0
answers
30
views
How to correctly call an iOS completionHandler block from Delphi without crashing?
I’m trying to implement this iOS delegate method in Delphi:
- (void)URLSession:(NSURLSession *)session
task:(NSURLSessionTask *)task willBeginDelayedRequest:(NSURLRequest *)request ...
0
votes
0
answers
32
views
iOS App Crashes on Launch After Upgrading React Native to 0.77.3 - New Architecture Incompatibility
I'm encountering a critical issue after upgrading my React Native app to version 0.77.3. The iOS app builds successfully in Xcode but crashes immediately upon launch. The crash appears to be related ...
Tooling
0
votes
0
replies
21
views
How to update React Native default port?
I’m trying to run a React Native app with Metro on a port other than the default 8081 (e.g. 10000).
I’ve followed the official React Native docs here:
https://reactnative.dev/docs/troubleshooting#...
1
vote
2
answers
68
views
SwiftUI @FocusState doesn’t focus a desired TextField
I have a SwiftUI view with multiple TextFields and a @FocusState bound to my view model. I want the first field to automatically get focus whenever the view appears(when coming back from a SecondView)....
0
votes
1
answer
49
views
How to present app-wide alerts/sheets above existing sheets in SwiftUI (central presenter like UIKit)?
TL;DR: my app has some global alerts and modals (e.g. hints about trial limits, the in-app purchase screens, etc.) which should be available through out the app. In UIKit I could always present alerts ...
0
votes
0
answers
20
views
iOS EXC_BAD_ACCESS when launching HyperVerge KYC camera from React Native Expo app (Android works)
I’m integrating HyperVerge as my KYC provider in a React Native + Expo app.
On Android everything works fine. On iOS, the flow is:
HyperVerge captures the user’s face successfully
When the SDK asks ...
0
votes
0
answers
29
views
How to transform http over wifi-aware in iOS 26
wifi-aware has been introduced in iOS 26, but it seems that We can only use NetworkConnection to send data to the endpoint. I want to know that how we can send http over NetworkConnection?
public ...
0
votes
1
answer
31
views
Flutter iOS WebView doesn’t trigger password-reset request when opened from second WebView (Android works fine)
I’m working on a Flutter app that integrates an external authentication system provided by another company. The login and password-reset flows are handled entirely inside a WebView (their backend + ...
0
votes
0
answers
28
views
Library not loaded: /System/Library/Frameworks/SwiftUICore.framework/SwiftUICore
As the title suggests, I'm encountering the following issue: In a new project where SwiftUI is used as the main UI development component, the app crashes on launch in versions below iOS 17. The log is ...
-1
votes
0
answers
20
views
Crash when calling WKHTTPCookieStore.setCookie in async function
I’m running into a crash when trying to sync cookies from my app to a WKWebView’s HTTPCookieStore. The crash happens at the setCookie call inside an async function. I’m not sure why it’s happening.
...
-2
votes
2
answers
72
views
Change in module behavior for clang in GitHub
I've inherited a GitHub job I don't understand well and that has stopped compiling.
It creates a .a library for iOS.
The source consists of a set of modules, each declared thus:
export module x;
...
1
vote
1
answer
55
views
UIVisualEffectView with UIGlassEffect with only 2 rounded corners
Trying to make a sheet-like view that attaches at the bottom to another view so I'd like to have only the top two corners rounded.
This works for a blurred effect:
let glassView = UIVisualEffectView(...
0
votes
0
answers
25
views
SwiftUI arrow key keyboard shortcuts don't function for iPad
I would like to use the arrow keys as keyboard shortcuts in an app that I am building for iOS/iPadOS, for the sake of users with a hardware keyboard.
The following code works fine for iPhone, but not ...
0
votes
1
answer
57
views
Content of TabView is going beyond safe areas in the NavigationStack
import SwiftUI
struct OnboardingView: View {
@ObservedObject var viewModel: OnboardingViewModel
var body: some View {
TabView(selection: $viewModel.currentPage) ...
0
votes
0
answers
37
views
Incompatible React versions: the react and react-native-renderer on iphone
When I build react native app I see this error: Incompatible React versions: the react and react-native-renderer on iphone . and this is my package.json
so, I need help in this case. This image ...
0
votes
0
answers
20
views
How to directly navigate to Safari Extension settings from an iOS app?
I’m trying to implement a button in my iOS app that sends the user directly to:
Settings → Safari → Extensions
Some other apps seem to briefly open the Shortcuts app and then jump to this exact Safari ...
1
vote
2
answers
56
views
How do I extend the background of child views to their parent without using GeometryReader and without affecting the natural height in SwiftUI
As you can see in the image below, I want the left (star) and right (sun) views’ backgrounds to fill their parent (HStack) without using GeometryReader or altering the HStack’s natural height.
struct ...
1
vote
1
answer
70
views
How to structure SwiftUI so that pages keep their state when switching between different UI layouts?
I have a SwiftUI view that switches between two completely different container layouts:
a TabView layout (for compact width)
a sidebar + content layout using HStack (for regular width). I am using a ...
-1
votes
0
answers
20
views
in iOS KeyboardExtension host app open containerapp success, but cant go back to host app [closed]
I've encountered a situation where I'm using a microphone in a keyboard app. When I try to use the keyboard's microphone in a host app, I need to open the container keyboard app to authorize the ...
0
votes
1
answer
49
views
iOS App Group Data Not Accessible from Watch App in Companion App Setup
I have an iOS app with a WatchKit target (companion app). Both the iOS app and Watch app have the App Group capability enabled. I am trying to share data between the iOS app and Watch app using a ...
0
votes
0
answers
70
views
How to make the ToolbarItemGroup in the toolbar group background clear and with glass effect? [closed]
How can I make the background of a ToolbarItemGroup clear with a glass (blur) effect in iOS 26? Is there a supported way to achieve this?
I have tried to make the background clear but it didn't work ...
-6
votes
0
answers
41
views
Marking deleted un-read Apple Mail emails as read across iOS and MacOS? [closed]
There's been a "bug" for years that un-read emails deleted on Apple Mail on iOS will show up in the Trash folder on MacOS as still being unread. It's like half the messages. Sometimes I can ...
0
votes
0
answers
25
views
NLTagger sentimentScore always returns 0.0 [closed]
I’m using NLTagger with the .sentimentScore tag scheme to analyze text sentiment. The setup is straightforward, and the code looks like this:
import NaturalLanguage
struct Scorer {
let tagger = ...
1
vote
0
answers
42
views
iOS BGProcessingTask + Background Upload Not Executing Reliably on TestFlight (Works in Debug) [closed]
How can I make BGProcessingTask run consistently on TestFlight for a file-processing + background-upload workflow?
Specifically:
Is there a known issue or limitation with BGProcessingTask + ...
-1
votes
0
answers
39
views
Command PhaseScriptExecution failed with a nonzero exit code build failed and working in simulator [closed]
Xcode 26.1
Flutter 3.38.1
I have tried this:
flutter clean
rm -rf ios/Pods
rm -rf ios/Podfile.lock
rm -rf ios/Flut