Search code examples
iphoneobjective-ccocos2d-iphone

Retrieve Information from another App


I'm not sure if this is possible, but if I wanted to say get the weather from the weather iphone app that comes default with every device, how would I do that? IS it even possible? I don't want to display the information I just want to use it.

The only information I need is if it is raining, snowing, cloudy, or sunny.


Solution

  • No, you can't get arbitrary information from arbitrary apps. In fact, it's somewhat difficult even to share data between apps intentionally. If you want weather information, you'll want to use one of the many APIs available to do this.