Post

Replies

Boosts

Views

Activity

Reply to How To change my App Icon
There’s also an icon associated with the developer itself, as described in this thread and this thread. A few apps have a custom image but there seems to be no documentation on how to do it. Perhaps the ability to customize it was withdrawn long ago. Or you just need for Apple to really like you.
Jul ’25
Reply to [[UIDevice currentDevice] systemVersion] issue in iOS 26
another short-term solution: Create this no-net-changes build with Xcode 16 and just special case the OS version. Unfortunately that may not meet the OP’s requirement to report an accurate version for troubleshooting, since it sounds like the compatibility version will be stuck at 19.0 forever. So a compatibility-mode app can only infer it’s running on 26.0 or later but not determine the actual version. But hopefully that’s sufficient for the OP since it doesn’t sound like this drives any core app functionality.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Reply to [[UIDevice currentDevice] systemVersion] issue in iOS 26
showing iOS 19 to the customer instead of iOS 26 might confuse them. You could file a Feedback (and could cite my simple analysis above) but hopefully you have enough time to just prepare (at worst) a no-net-changes build of your app using Xcode 26. If you release that close to the iOS 26 release date then the confusion should be minimal. And for anyone who gets a confusing result running your old app on the beta, just chalk it up to ”well, it’s a beta.”
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Reply to [[UIDevice currentDevice] systemVersion] issue in iOS 26
And that brings us into the why question territory And therefore unlike competing on the popular American quiz show Jeopardy!, I made sure not to phrase that response in the form of a question. 😉 OTOH, the how of this is fascinating. Interesting! Of course if you multiply that by the number of “if your app is linked on or before version x...” cases scattered through the documentation, it’s probably not a lot of fun to maintain.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Reply to [[UIDevice currentDevice] systemVersion] issue in iOS 26
So it’s the same trick that was used in the jump from macOS 10.15 to 11.0, where legacy apps saw the new version as 10.16 instead of 11.0. But that was ostensibly to support old apps with faulty version checking logic that assumed the major part would be 10 forever and the minor part would increase forever. But for the jump from OS 18 to 26 on the other platforms, it’s not clear why this would be needed. As happens every year on those platform, the major part still gets bigger and the minor part still gets reset to 0.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to Issues with Opening iOS Settings from App
The specific settings pages you can navigate to are documented here: Supported URL Schemes. Unfortunately it doesn’t currently include Wi-Fi settings. The latest version of the app_settings Flutter library does seem to document this limitation under AppSettingsType.wifi here: https://pub.dev/documentation/app_settings/latest/app_settings/AppSettingsType.html
Apr ’25
Reply to UIAlertController sometimes does not call its UIAlertAction handler
There is a local variable [...] to store which alert action the user chose. Do you mean it’s a local variable on the caller’s stack, or is it actually a global/static variable, or something else? How does the alert presenting function access it? If it’s currently a local stack variable and is captured by the async block, can you test by changing it to a global/static?
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’25
Reply to Does peripheralManager.updateValue Actually Send Data to the Central?
The documentation isn’t explicit about what “send” means but I think it does imply that the operation is asynchronous: This [return] value is [...] false if the update isn’t successfully sent because the underlying transmit queue is full. From this I infer that it just attempts to add the data to a fixed-size transmit buffer, while the actual transmission over the air via the Bluetooth stack happens later.
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’25
Reply to NSString initWithFormat crash on ios18
Well, I suppose that could work but it doesn’t exactly improve readability. :wink: If this landed in the inbox of peer code reviews at my day job here, I’d ask them to redo it using a struct implementing Encodable, a JSONEncoder, and either string modifier addingPercentEncoding(withAllowedCharacters:) or one of the URL APIs that does percent encoding automatically.
Topic: App & System Services SubTopic: General Tags:
Mar ’25
Reply to Find selected text
For me, Xcode 16 is showing the match count in the find bar when I hit ⌘E when the find bar is already open, or when I hit ⌘F to open the find bar after ⌘E. Still need to hit ⌘F either way to get keyboard focus into the find bar, however. But note a huge advantage of ⌘E over ⌘C ⌘F ⌘V is that it puts your search text in the system’s find pasteboard, which is separate from the general pasteboard. So it won’t clobber regular code or text that you are editing via copy and paste.
Mar ’25