Den*_*CPH 2 iphone identifier storyboard
我不断收到错误次:"故事板()不包含具有标识符'myWebView’视图控制器我使用的UITableView和当用户单击单元格,它会推动另外的看法,加载一个UIWebView但我相信我在storyboard中正确设置了标识符,请查看代码:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
NSArray *arrInfo = [[tableData objectAtIndex:indexPath.row] componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@";"]];
favWebView *nextView = [self.storyboard instantiateViewControllerWithIdentifier:@"myWebView"];
nextView.title = [arrInfo objectAtIndex:1];
nextView.url1 = [arrInfo objectAtIndex:6];
[self.navigationController pushViewController:nextView animated:YES];
}
Run Code Online (Sandbox Code Playgroud)
图片:
谁能告诉我如何解决这个问题?任何帮助将非常感激.
| 归档时间: |
|
| 查看次数: |
8548 次 |
| 最近记录: |