开发者

iPhone simulator buttons don't respond

开发者 https://www.devze.com 2023-02-05 18:55 出处:网络
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

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


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.


Try to delete and reconnect the IBAction/IBOutlet.

0

精彩评论

暂无评论...
验证码 换一张
取 消