问题描述:

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;

相关阅读:
Top