出于某种原因,我的应用程序在尝试将单元格加载到tableview时失败.我在整个应用程序中的所有表格视图完全相同,我对它们没有任何问题.是否可能与从另一个viewController初始化Controller有关?我不这么认为.故事板中的我的单元格已被赋予标识符.这是一个屏幕截图的链接.
所以我在这里尝试了一切,没有任何效果.
这是使用[tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath]方法的输出:
2013-11-14 15:36:33.419 ComplyOS[43683:70b] *** Assertion failure in -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:], /SourceCache/UIKit_Sim/UIKit-2903.23/UITableView.m:5261
2013-11-14 15:36:33.424 ComplyOS[43683:70b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier ProcedureCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
*** First throw call stack:
(
0 CoreFoundation 0x0000000101fa9795 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000101d0c991 objc_exception_throw + 43
2 CoreFoundation 0x0000000101fa961a +[NSException raise:format:arguments:] + …Run Code Online (Sandbox Code Playgroud)