当前位置: 动力学知识库 > 问答 > 编程问答 >

uitableview - Can we access a label?

问题描述:

Can we access a label (which is embedded in a tableViewCell) using a button which is connected to the ViewController?

I tried importing the tableviewcell class in ViewController.m file. Still it is not reflecting my label's name in ViewController file. Here is my TableViewcell.h file where I have declared my label.

@interface TableViewCell : UITableViewCell<UITableViewDelegate,UITableViewDataSource>

@property (strong, nonatomic) IBOutlet UILabel *label1;

分享给朋友:
您可能感兴趣的文章:
随机阅读: