私のiPhoneアプリでtabBarContollerは、タブの1つにwebView(PDFViewController)を表示するように設定しています。
私が直面している問題はTerminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "PDFViewController" nib but the view outlet was not set.'
わかりました、ストーリーボードを使用して私の別のプロジェクトでこの webView を問題なく設定できるので、問題はnibファイルにあることがわかります。
アプリのデリゲートで VC をセットアップしました (そのため、VC をtabBarController
PDFViewController *pdfVC = [[PDFViewController alloc] initWithNibName:nil bundle:nil];
  pdfVC.tabBarItem.image = [UIImage imageNamed:@"second"];
  NSArray *controllers = [NSArray arrayWithObjects:frontPageNavController, campusNavController, opinionNavController, sportsNavController, pdfVC, nil];
self.tabBarController = [[UITabBarController alloc] init];
self.tabBarController.viewControllers = controllers;
私の .xib には、ビューが設定されているだけです。
ここに私のPDFViewController.m:
@implementation PDFViewController 
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
  self = [super initWithNibName:@"PDFViewController" bundle:nibBundleOrNil];
  if (self) {
    // Custom initialization
  }
  return self;
}
- (void)viewDidLoad
{
  [super viewDidLoad];
  UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0,0,self.view.bounds.size.width,self.view.bounds.size.height)];
  NSURL *targetURL = [NSURL URLWithString:@"http://issuu.com/miamistudent/docs"];
  NSURLRequest *request = [NSURLRequest requestWithURL:targetURL];
  [webView loadRequest:request];
  [self.view addSubview:webView];
}
このエラーの原因は何ですか? 私は PDFViewController.xib で通常の ViewController を設定しようとしましたが、それは何の役にも立ちませんでした。ありがとう !