2011-12-01 10:30:37.211 basicViewBased[496:207] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "chapterViewController" nib but the view outlet was not set.'
2011-12-01 10:30:37.213 basicViewBased[496:207] Stack: (
42182736,
43340588,
41920267,
41920106,
3534983,
3526704,
3526410,
11676,
3526533,
3519391,
3579886,
3575616,
3583801,
3559329,
3586719,
3558971,
11384,
2903278,
3400766,
3410112,
3404909,
3030504,
2922051,
2953688,
51175804,
41461916,
41457832,
51169437,
51169634,
2945906,
9732,
9586
)
terminate called after throwing an instance of 'NSException'
答案 0 :(得分:-1)
在xib文件中,您没有使用xib连接视图。