Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-04-2010, 05:03 PM   #8 (permalink)
jsd
at this moment
 
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 900
jsd is on a distinguished road
Default

Quote:
Originally Posted by Murd View Post
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.
jsd is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,422
Threads: 94,020
Posts: 402,548
Top Poster: BrianSlick (7,978)
Welcome to our newest member, iAppDeveloper
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:02 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.