4 ms·
Holy Shit this is bad news. I really hope Apple doesn't show this dialog for all deprecated APIs, because for a lot of them there just isn't an alternative. Ap
by newaccount74 3y ago
Holy Shit this is bad news. I really hope Apple doesn't show this dialog for all deprecated APIs, because for a lot of them there just isn't an alternative.
Apple has a history of deprecating APIs, and then not shipping a suitable replacement, or shipping a broken replacement.
For example, the SecKeychainSetUserInteractionAllowed function, which disables password prompts when trying to fetch passwords from the keychain, has been deprecated for a few years. So I replaced it with the new method to disable UI. But the new method stopped working suddenly after a minor update! It just showed the UI anyway! This led to a bug where my app kept showing the dialog again and again.
The only fix was to revert back to the deprecated API, which still seems to work.
If Apple wants developers to stop using "deprecated" APIs, they need to start shipping replacement APIs that actually work.