title: How do I display multiple UIWebViews on a single UIViewController with local files?
body: <p>I'm trying to show multiple <code>UIWebView</code>'s on a single <code>UIViewController</code>, each should show a single HTML file.</p>
  
  <p>In my camView.h file, I've got the following code:</p>
  
  <pre><code>@interface camView : UIViewController
  @property (weak, nonatomic) IBOutlet UIWebView *cam01_valk01;
  @property (weak, nonatomic) IBOutlet UIWebView *cam02_valk02;
  @property (weak, nonatomic) IBOutlet UIWebView *cam03_valk03;
  @property (weak, nonatomic) IBOutlet UIWebView *cam04_tunnel;
  </code></pre>
  
  <p>and in my camView.m file:</p>
  
  <pre><code>@interface camView ()
  
  @end
  
  @implementation camView
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view.
  
      NSString *path = [[NSBundle mainBundle] pathForResource:@"cam1_valk01" ofType:@"html"];
      NSURL *url = [NSURL fileURLWithPath:path];
      NSURLRequest *request = [NSURLRequest requestWithURL:url];
      [_cam01_valk01 loadRequest:request];
  
      NSString [[[NSBundle mainBundle] pathForResource:@"cam2_valk02" ofType:@"html"];
      NSURL *url = [NSURL fileURLWithPath:path];
      NSURLRequest *request = [NSURLRequest requestWithURL:url];
      [_cam02_valk02 loadRequest:request];
  
      NSString *path = [[NSBundle mainBundle] pathForResource:@"cam3_valk03" ofType:@"html"];
      NSURL *url = [NSURL fileURLWithPath:path];
      NSURLRequest *request = [NSURLRequest requestWithURL:url];
      [_cam03_valk03 loadRequest:request];
  
      NSString *path = [[NSBundle mainBundle] pathForResource:@"cam4_tunnel" ofType:@"html"];
      NSURL *url = [NSURL fileURLWithPath:path];
      NSURLRequest *request = [NSURLRequest requestWithURL:url];
      [_cam04_tunnel loadRequest:request];
  
  }
  </code></pre>
  
  <p>Now the issue is that the first <code>UIWebview</code> is displaying the HTML content, but all the next ones are getting the error message </p>
  
  <ol>
  <li>"redefinition of 'path'"</li>
  <li>"redefinition of 'url'"</li>
  <li>"redefinition of 'request'"</li>
  </ol>
  
  <p>I can also clearly see that I'm defining the same thing 4 times, but removing those definitions will completely wreck the code. My experience with xcode is very low, so I don't actually know how to solve it. Please write in depth what the correct solution to showing multiple <code>UIWebview</code>'s is.</p>