Xcode: Check if UIButton is hidden, using NSUserDefaults
问题 How would I allow the app to save & load the current state of a button (i.e. if it is hidden, how would I save this, so that next time it will be hidden)? Also, I have it currently set so that when a button is pressed, all the other buttons become un-hidden. How can I set it so that certain ones don't become un-hidden if they have been set un-hidden in NSUserDefaults if you see what I mean? Thanks 回答1: You can check with Apple's documentation on NSUserDefaults to get any additional