Search code examples
iphonescopesystem-variable

Is it possible to see variable states in native iPhone apps?


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.


Solution

  • 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.