Whenever I build an app on the simulator none of my buttons respond to clicks. I code the methods in the AppNameViewController files (both the header and the obj-c) I have the button connected to the File's Owner and the method selected in Interface Builder as well. Even in a simple app such as a hello world app the buttons don't do anything. Has anyone else had this problem? Any help would be much appreciated as I haven't paid for a developer license yet so the simulator is the only means I have of testing apps
Asked
Active
Viewed 213 times
0
-
dude did you connect the functions or the UIButtons to files owner – Robin Jan 18 '11 at 06:10
-
What type of buttons are? (RoundRect) is the button making blue background when tap on it? – Alex Terente Jan 18 '11 at 08:01
-
@robin yes. @Terente they are roundrect and yes, the button turns blue when its clicked – heymrcarter Jan 18 '11 at 12:31
2 Answers
1
I've run into similar issues before...
Try swiping across the button; for some odd reason -- sometimes, some buttons can only be activated this way in the simulator.

michael
- 2,332
- 2
- 21
- 27
0
Try to delete and reconnect the IBAction/IBOutlet.

Alex Terente
- 12,006
- 5
- 51
- 71
-
i tried running the same code on another mac and it works fine. something must be wrong with my install. i'll try removing the devtools and reinstalling them – heymrcarter Jan 20 '11 at 17:09
-