Post

Replies

Boosts

Views

Activity

Reply to CMAltimeter absolute altitude delivery BROKEN (super slow & inaccurate)
I'm using startRelativeAltitudeUpdates with a barometric reference for altitude and subjectively (tested with iOS 17.5 today) the frequency of updates is the same as it used to be in iOS 16 or 15. I wonder if you have location accuracy at max and distance filter at min, as you mention slower updates and location based altitude. What if Apple linked startAbsoluteAltitudeUpdates totally to a location data and you have low frequency filter/accuracy on you CLLocationManager?
Topic: App & System Services SubTopic: Hardware Tags:
May ’24
Reply to CLLocationUpdate with the automotiveNavigation configuration spams any location changes
Per here: https://developer.apple.com/documentation/corelocation/cllocationupdate/liveconfiguration/automotivenavigation CLLocationUpdate.LiveConfiguration.automotiveNavigation The value that configures positioning for an automobile following a road network. It is about accuracy and distance filter requirements for the location module? Also about "glueing" you to the automotive roads or not. Do you believe this should also discriminate for the .automotive activity only? I watched this WWDC session a long time ago though. From the experience with how the current location/motion works, I'd say my apps would miss a lot of driving distance if they rely on discriminating automotive activity solely by Apple's categorisation.
Jul ’24
Reply to Objective-C Literals inside a Swift Package
Not a direct answer, just sharing my experience: After some Xcode update, I had to replace all @-1 literals with explicit NSNumber initializers like this: ret.availableScales = @[[NSNumber numberWithInt:-1], @0, @1]; For some reason, @-1 wasn’t being evaluated correctly for my code anymore in some places. I contacted Apple about it, but they couldn’t reproduce the issue at the time with simple code. Looks like objective-c literals support is more and more lagging behind. Can you use static/const strings?
Topic: Programming Languages SubTopic: General Tags:
May ’25