Hacker News new | past | comments | ask | show | jobs | submit login
Apple demands app makers explain use of sensitive APIs (theregister.com)
45 points by mfiguiere on July 29, 2023 | hide | past | favorite | 7 comments



Already discussed here: https://news.ycombinator.com/item?id=36900782 (313 comments)


While I think this is a good idea in principle, they way this is currently proposed is very heavy handed. The list of APIs to declare includes things like standard NSUserDefaults, which is being used for storing settings and preferences by every single app under the sun.

I’m afraid that this change would predominantly impact only small developers who don’t have a dedicated legal department to deal with this kind of nonsense, and would introduce another reason for bogus app review rejections.

https://developer.apple.com/documentation/bundleresources/pr...


I was wondering... so apps makers that want to reduce hassle will have to roll their own way of storing settings?

Edit: HUH in all caps. Apple says:

"This reason does not permit reading information that was written by other apps or the system, or writing information that can be accessed by other apps."

You mean they allow an app to read the settings from another app?


No. User defaults are already scoped per app. The apps that declare the same app group in the application bundle, can access each other’s data. But this kind of data sharing could be done only with the apps from the same developer, you can’t access data of another arbitrary app.


Then why do you have to state that particular API's usage?


I'm sure no one gets special treatment here, surely. No one pays apple to look the other way, surely. Everyone treated equally in this scenario seems like the most likely result. /s


Can’t have Peter Rabbit trespassing in your tasty vegetable garden now can you. Oh, the vegetables are just for show, not to be eaten. Pinky promise.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: