سؤال

For example, if upon launching my app I wanted to see who the current caller was or what the latest SMS message was from "Phone" or "Messages", are there classes available that can access information at this level?

This may be a system security/stability/scoping issue that Apple wants to avoid, but it's worth a try.

هل كانت مفيدة؟

المحلول

You're assumptions are correct, this is not currently allowed, nor do I think it ever will be.

I believe their reasoning for this is so developers cannot access personal information like phone numbers and addresses and exploit them.

You can send mail and SMS messages from with the app, and you can see the current call state.

نصائح أخرى

Your hunch is right, that it's a system security issue. Apple does not give access to such information, since it's definitely a breach of privacy. Sorry.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top