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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-19-2010, 07:04 AM   #1 (permalink)
Velvet Rock Apps
 
Join Date: Sep 2010
Posts: 231
ChrisYates is on a distinguished road
Default Saving the current state of a UIButton once app quite?

Sorry, typo in subject, should read app quits not app quite!


Hi all,

I'm new to iOS programming so please bear with me if my terminology isn't quite right. I've become completely addicted to development and keep telling myself that I must go to bed before 3AM!

I have created a custom table cell and within this cell is a UILabel and UIButton. I also have an NSMutableArray that stores information in the table and saves fine once the application quits and appears again upon reopening the application. Here's my problem: I have created 2 images for my button, one is an unchecked checkbox and the other is a checked checkbox. All I am hoping to do is save the current state of the button once the application quits. The other problem I am having is that the buttons return to their original state after the table reloads in one of my methods.

Can anyone advise how I would go about saving the button states...thanks very much.

Last edited by ChrisYates; 09-19-2010 at 07:08 AM.
ChrisYates is offline   Reply With Quote
Reply

Bookmarks

Tags
uibutton, uibutton state

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 306
15 members and 291 guests
2ndSegment, cayladv57, cgokey, dermotos, djohnson, Domele, Hamad, heshiming, linkmx, markuschow, pungs, Sloshmonster, teebee74, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,655
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pungs
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:59 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0