1
不显示在我的.h文件中我有这样的:IBOutlet中的文件的所有者/ IB
@interface {
UILabel *questionLabel_;
}
@property (nonatomic, retain) IBOutlet UILabel *questionLabel;
在我.mm文件,我有这样的:
@synthesize questionLabel = questionLabel_;
当我去到厦门国际银行文件我在File Owner中看不到questionLabel的证据。我也不能通过ctrl拖动到File Owner或First Responder来连接UILabel。
它虽然与我创建的两个UIButtons一起工作。
想法?
接口文件中没有类名? – Rog
在Inspector中请检查课程名称是否设置? –