title: iOS handleOpenURL with Phonegap 1.6.0
body: <p>Cordova: 1.6.0</p>
  
  <p>iOS: 5.1</p>
  
  <p>XCode: 4.3.1</p>
  
  <p>I'm trying to tap into the handleOpenURL in Phonegap 1.6.0 with a very basic example program.  I'd like to analyze a url every time a http/https request is made.  All I have done right now is add a log message to see the host of the url. </p>
  
  <pre><code>- (BOOL) application:(UIApplication*)application handleOpenURL: 
  (NSURL*)url 
  { 
      NSLog(@"Hi"); 
      NSLog(@"Host: %@", [url host]);
  
      if (!url) { 
          return NO; 
      }
  
      ... 
  } 
  </code></pre>
  
  <p>However, the log message never writes anything to the console.</p>
  
  <p>I did notice the comment:</p>
  
  <pre><code>// only valid if Example-Info.plist specifies a protocol to handle 
  </code></pre>
  
  <p>Perhaps my Example-Info.plist file is wrong?  I've added the CFBundleURLTypes to it, assuming that's what it means by "specify a  protocol to handle".  Do I have to add something else somewhere?  Below is the example section of my Example-Info.plist file.  Is it possible the simulator is not recognizing my .plist modifications?</p>
  
  <pre><code>... 
  &lt;key&gt;CFBundleURLTypes&lt;/key&gt; 
  &lt;array&gt; 
      &lt;dict&gt; 
          &lt;key&gt;CFBundleURLSchemes&lt;/key&gt; 
              &lt;array&gt; 
                  &lt;string&gt;http&lt;/string&gt;
                  &lt;string&gt;https&lt;/string&gt; 
              &lt;/array&gt; 
      &lt;/dict&gt; 
  &lt;/array&gt;
  </code></pre>
  
  <p>I've also implmeneted, since handleOpenURL is deprecated.</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication (NSString *)sourceApplication annotation:(id)annotation
  {
      NSLog(@"Hi");
      ...
  }
  </code></pre>
  
  <p>Neither are getting called as I open URLs in my application.  I've tried all the solutions in stack-overflow, with no such luck.  If it is any help, I'm using jQuery mobile 1.1.0 for page transitions.</p>