5 questions from the last 30 days
0
votes
0
answers
28
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 ...
1
vote
1
answer
75
views
Swift/objc interoperability and modern swift concurrency
How to resolve error:
Non-Sendable parameter type BookInfo of actor-isolated @objc instance method cannot cross actor boundary?
BookStore.swift:
// manage state of instances of BookInfo
@objc actor ...
-2
votes
1
answer
85
views
iOS 26 CLHeading's magneticHeading and trueHeading return travel direction instead of device orientation when user is in motion [closed]
I am using CLLocationManager to obtain the device's compass heading (direction), and I have encountered an abnormal behavior:
When the user is stationary: After calling startUpdatingHeading(), the ...