title: Phonegap Build inAppBrowser event does not fire after view change in iOS 6 & 7
body: <p>I am building a cross platform app using PhoneGap Build, version 3.3.0. The app is a news app, so requires updating of the DOM as different views are loaded. Every time this happens the old page is removed and replaced by the new view render. The app is built around backbone.js , using jQuery and Twig to render the views. </p>
  
  <p>I am using the inAppBrowser to handle links to external sites, and have successfully set these up, using:</p>
  
  <pre><code>&lt;gap:plugin name="org.apache.cordova.inappbrowser" /&gt;
  </code></pre>
  
  <p>in the config, and a link to </p>
  
  <pre><code>&lt;script src="phonegap.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>in the index.html file. I am then launching the inAppBroswer using </p>
  
  <pre><code>window.open('myURL', '_blank', 'location=yes');
  </code></pre>
  
  <p>and this works fine the first time I use it in a session. Even if the browser is then closed and another link on the same view is selected, the browser still works.</p>
  
  <p>However, in iOS 6+, if the view is then replaced by another view, then the links in the new view do not fire. The onclick event attached to the link is definitely firing (I can tell by using alerts), but the inAppBroswer does not open. However, if I exit the app and then return to it, the inAppBroswer has opened. It is as if losing the focus on the app fires off the queued event.</p>
  
  <p>I have confirmed this behaviour by placing an alert in the loadstart event handler, this does not fire until exiting the app and returning to it.</p>
  
  <p>I have tried keeping a persistent reference to the the inAppBrowser and destroying the instance after it has has closed. I have also tried calling the <code>.show()</code> method after creating the inAppBroswer instance, but none of this seems to make any difference.</p>
  
  <p>Is this an issue that anyone else has come across? I could not find another question about this specific issue. This only seems to happen in iOS 6 and 7, not in Android.</p>
  
  <p>Thanks</p>