简体   繁体   中英

Accessing custom UITableViewCell from ViewController using Storyboard

I have created a Custom UITableViewCell in ViewController

在此处输入图片说明

在此处输入图片说明

I can access my ViewController

UIStoryboard *storyboard = [UIStoryboard storyboardWithName:
                        @"MainStoryboard_iPhone" bundle:[NSBundle mainBundle]];

UIViewController *myController = [storyboard instantiateViewControllerWithIdentifier:@"myId"];

But how can i access HomeScreenTableViewCell ?

Thanks.

我认为您无法像这样访问,可以使用单独的.xib创建Custom UITableViewCell ,也可以使用放置在情节UITableView创建原型单元

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM