https://web.archive.org/web/20110604185120/http://developer.apple.com/library/ios/documentation/iphone/conceptual/iPhone101/Articles/05_ConfiguringView.html https://web.archive.org/web/20110604185120/http://developer.apple.com/library/ios/documentation/iphone/conceptual/iPhone101/Articles/05_ConfiguringView.html
为按钮添加操作。 。 。
- 在 Xcode 中,选择视图控制器的 nib 文件 (MyViewController.xib)。
- 显示助理编辑器。
- 确保 Assistant 显示视图控制器的头文件 (MyViewController.h)。
- 控件从nib文件中的按钮拖动到头文件中的方法声明区域。
第2步怎么做?
如何显示“助理编辑器”?
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)