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中請檢查課程名稱是否設置? –