jjzjj

dictMenuData

全部标签

ios - 如何通过单击 UITableViewCell 按钮将数据发送到另一个 ViewController

我想使用uitableviewcell中的按钮单击发送数据。我从网络服务中获取数据。每行按钮向viewController发送不同的数据。在下面附加cellForRowAtIndex方法:-(UITableViewCell*)tableView:(UITableView*)tableViewcellForRowAtIndexPath:(nonnullNSIndexPath*)indexPath{staticNSString*identifier=@"CategoryCell";NSDictionary*dictMenuData=[_arrHandMadeListobjectAtInde