Tag: 最喜欢

从FavoriteTableView发送数据到DetailView?

我有我的app.when用户触摸单元格中的tableview,detailview和favoriteview将去详细信息包含照片,标签,文本字段和button添加到favorite.user可以触摸最喜欢的button,以添加特定的单元格为favoritetableview。 我可以successfullly添加细胞favoritetableview,但是当我触摸cellit in favoritetableview并去详细视图,没有任何加载detailtableview(照片和文本框等)只能发送名称detailView如何发送照片和textfield等detailview favoriteview? 我怎样才能达到从bestview同维护视图的detailview? 任何想法,将不胜感激。 谢谢。 这是我的模特照片:[enter image description here] [1] 这是每个观点的准备方法: maintableview: – (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { if ([[segue identifier] isEqualToString:@"SpeciesDetail"]) { GeneralViewController *detailViewController = (GeneralViewController*)[segue destinationViewController]; NSIndexPath *path = [self.tableView indexPathForSelectedRow]; BirdInfo *info; BirdImage *imageObj; if (!_didSearch) { info = (BirdInfo *)[self.fetchedResultsController objectAtIndexPath:path]; imageObj = info.thumbnailImage; } else { info =(BirdInfo […]