iphone导航控制器& detailView错误

时间:2011-01-09 06:00:55

标签: iphone objective-c

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/taxsmart/Library/Application Support/iPhone Simulator/4.2/Applications/34FB8AA4-FB2A-420B-A6E2-220BCF9CD364/practice_plist.app> (loaded)' with name ' DetailView''

1 个答案:

答案 0 :(得分:0)

假设您逐字地粘贴了错误,看起来您在DetailView之前有一个前导空格。我以前碰到过这个;简单的解决方法是打开试图在Interface Builder中加载DetailView的视图,并修复DetailView视图控制器的“NIB名称”字段,使其没有前导空格。