Quote:
Originally Posted by Murd
I have got one problem with this:
I want to change the style in a IBAction, but there "application" is unknown. How can I get the statusbar change outside of the applicationDidFinishLaunching?
|
In your IBAction method do:
UIApplication *application = [UIApplication sharedApplication];
Then you can refer to application just as you did in the didFinishLaunching method.