我的代码是:
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([[segue identifier] isEqualToString:@"showDetail"]) {
NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
NSString *string = [feeds[indexPath.row] objectForKey: @"description"];
NSLog(@"Description : %@" , string);
[[segue destinationViewController] " WHAT TO CODE IN HERE ? "];
} }
我需要在 viewController 的 NSLog 中显示“字符串”。有什么帮助吗?