1

The aim is to read some values from a today widget (owned by Apple). Yes, using private API's is against Apple's guidelines but I'm just testing a thing.

nsinvocation
  • 7,559
  • 3
  • 41
  • 46

2 Answers2

0

For realtime communication between widget and main app you can use MMWormHole.

For sharing data you can use shared NSUserDefaults.

Community
  • 1
  • 1
David Rysanek
  • 901
  • 12
  • 16
0

I'm pretty sure this is not possible. Accessing values from a Today widget from Apple would be the same from accessing values from a full app made by Apple. Which is simply impossible.

Otherwise you could access any values from any app at any point in time. That would cause a lot of security issues.

Even if it is one simple value you want to access, the premise is the same.

David Williames
  • 1,109
  • 9
  • 11