The following method has no warnings or errors associated with it in Xcode.
I receive the following message at runTime.
I am developing for iPad so these controllers have been 'targeted for iPad' if that makes any difference.
Why is setHtmlString unrecognised? It is set as a public NSString property in the destinationViewController.
The destinationViewController is not embedded in a navigation controller.
Code:
-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
ChecklistsViewController *clvc = [segue destinationViewController];
NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
clvc.htmlString = [array2 objectAtIndex:indexPath.row];
}
I receive the following message at runTime.
Code:
"'NSInvalidArgumentException', reason: '-[ChecklistsViewController setHtmlString:]: unrecognised"
I am developing for iPad so these controllers have been 'targeted for iPad' if that makes any difference.
Why is setHtmlString unrecognised? It is set as a public NSString property in the destinationViewController.
The destinationViewController is not embedded in a navigation controller.
Last edited by a moderator: