First let me start out by saying I feel like I'm climbing a vertical wall with the entire programming learning curve... that being said, speak slowly and in simple words. =) I am editing an app that a friend wrote for me. I have done fairly well if I do say so myself, but I have gotten as far as my good looks will take me.
My app is one that has a series of yes/no questions, and each question has a back button to go back one screen. At the end, there is an option for "start over", which returns you to the home screen. The problem is that the first question has the back button as well; if you press back when the app loads for the first time after starting, it simply disappears. If you get to the end, start over, and press the back button, it takes you back to the screen you ended on the previous time.
I think it has something to do with the following, but can't figure out the correct language to hide the back button on the first screen.
Sorry, I should have clarified... the code as shown above is as it was written by a pro. My (newbie) logic made me think that I could maybe change something in what is posted above to hide the back button on the first question in the series...
I got around it by using a [questionsstack removeAllObjects] command in the StartOverButtonClicked function.
Next issue...
The back and start over buttons are moving around on me; I have them programmed in two ways, (depending on the screen they are displayed on): one graphically in the .xib file and one with code in the viewcontroller.m file.
When I load the app, the buttons aren't staying put according to where they should be in the .xib file; the ones programmed in the viewcontroller are constant and don't move. If I hit the screen referenced by the viewcontroller file, and return to the one with the .xib view, they all stay aligned properly...