title: dialing iPhone on iOS9
body: <p>There are many answers for this question, but on iOS 9 there are some problems. When I use this code:</p>
  
  <pre><code>NSString *phoneNumber = [@"telprompt://" stringByAppendingString:self.lblPhone.text];
  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]];
  </code></pre>
  
  <p>I got this error:</p>
  
  <blockquote>
    <p>LaunchServices: ERROR: There is no registered handler for URL scheme (null)</p>
  </blockquote>
  
  <p>Then I change the Info.plist with this:</p>
  
  <pre><code>&lt;key&gt;LSApplicationQueriesSchemes&lt;/key&gt;
  &lt;array&gt;
      &lt;string&gt;telprompt&lt;/string&gt;
      &lt;string&gt;tel&lt;/string&gt;
  &lt;/array&gt;
  </code></pre>
  
  <p>But nothing changed!</p>
  
  <p>So I tried second code and this works:</p>
  
  <pre><code>NSString *numberString = @"004986632461";
  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"telprompt://%@",numberString]]];
  </code></pre>
  
  <p>But this one not:</p>
  
  <pre><code>NSString *numberString = [NSString stringWithFormat:@"%f", [[_lblPhone text] floatValue]];
  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"telprompt://%@",numberString]]];
  </code></pre>
  
  <p>It's dialing, but the number is wrong. Any idea?</p>