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.
Asked
Active
Viewed 47 times
2 Answers
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
-
The widget is owned by Apple, I'm trying to read it's values from my app – nsinvocation Jan 28 '16 at 11:40
-
Oh, sorry, I missed that. Unfortunately I can't help you with that :/ – David Rysanek Jan 28 '16 at 11:42
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