简体   繁体   中英

IOS - control-drag of a button is not working

I have some buttons I am trying to create, and when I try to do a control-drag into the controller, it isn't showing me the options to create configure that button. Any idea what could be wrong? I am just following my first tutorial is its probably something for newbies.

My screen shot is attached. 在此输入图像描述

It seems that you opened an incorrect .h file in your assistant editor, you will need to open the correct interface file for the correct view controller you have in your nib

from what i can see is that LearningCenter should not be the interface opened,

You will need to change the assistant view controller to the correct one Check the screen shot

在此输入图像描述

只需右键单击您选择最后一个选项的按钮(新引用插座集合。从该地图您的.h文件。当弹出窗口出现时。只需输入您的按钮名称。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM