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-07-2011, 06:46 PM   #7 (permalink)
skunkio
Registered Member
 
Join Date: Apr 2010
Location: Rome, IT
Posts: 98
skunkio is on a distinguished road
Default

I have the same need and i solved with a simple solution.
In my code i just enable/disable a UIBarButtonItem.
I declared an IBOutlet in my .h file

Code:
IBOutlet UIBarButtonItem *my_button;
In IB i linked the button with my previous declaration and within the .m file i do

Code:
//to disable
[my_button setEnabled:FALSE];

//to enable
[my_button setEnabled:TRUE];
Seems work fine

Ciao,
saluti
skunkio is offline   Reply With Quote
 

» Advertisements
» Online Users: 447
14 members and 433 guests
Ananth, antonwilliams, carmeliaxw97, Chickenrig, dre, heshiming, Paul Slocum, Pitter20, Renrob, RETRO, ryantcb, st.Jimmy, UconnAggie, waterkamp
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,594
Threads: 94,083
Posts: 402,778
Top Poster: BrianSlick (7,990)
Welcome to our newest member, kopmlop
Powered by vBadvanced CMPS v3.1.0

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