2013-05-18 37 views

回答

1

做的UITableViewCell的子類,做到這一點,並公開正確的網點。

像這樣的事情

@interface MyCustomUITableViewCell < UITableViewCell 
@property (nonatomic, readonly, weak) UILabel *title; 
@property (nonatomic, readonly, weak) UILabel *subtitle; 
@property (nonatomic, readonly, weak) UILabel *title; 

- (id) initWithReuseIdentifier:(NSString*)identifier; 
@end 

可以通過編程方式創建UI,或者你可以建立對小區的筆尖和連接插座。

注意:任何新的UI應添加到UITableViewCell的contentView屬性。

這裏有幾個類似的問題

+0

非常感謝您的幫助,我將深入探討這一點,感謝您的鏈接。 –

相關問題