save a hidden button to NsUserDefault?
i have three uibuttons, that are named with IBOUTLETS and connected through IB, that when clicked on, become hidden, but when you leave the view and then return, the buttons are visible again, but i want to keep them hidden. basically a one time use button. it is for a coupon type based app, so once they use the coupon, displayed by the button, i don't want them to be be able to access it again. would i use some instance of nsuserdefaults? any help would be great. thanks
|