I\'m trying to get a reference to my app delegate from a UIViewController but I keep getting an this error message:
\'sharedApplication()\' is unavail
Problem solved. I've been to the Build Settings of my app again and stumbled over
Require Only AppExtension-Safe API
all set to YES. The default though is NO. When I set this to NO the error disappeared.
I sure don't remember ever touching or even knowing about this but luckily now it works.