title: IOS stringWithContentsOfURL returning null
body: <p>Heres a section of code that I have:</p>
  
  <pre><code>NSString * escAddress = [fromLocation stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]; //1
  NSString * request = [NSString stringWithFormat:@"http://maps.google.com/maps/api/geocode/json?sensor=false&amp;address=%@", escAddress]; //2
  NSLog(@"%@", request); //3
  NSString * result = [NSString stringWithContentsOfURL:[NSURL URLWithString:request] encoding:NSUTF8StringEncoding error:nil]; //4
  NSLog(@"%@", result); //5
  </code></pre>
  
  <p>Output on line 3 is correct. It will read:</p>
  
  <pre><code>http://maps.google.com/maps/api/geocode/json?sensor=false&amp;address=stack%20overflow%20.%20com
  </code></pre>
  
  <p>if the string in escAddress is "stack overflow . com".</p>
  
  <p>The problem seems to be in line 4. I'm not sure why but it keeps returning null. I can copy and paste the URL from the output on line 3, paste it into my browser, and I get the relevant information that I need. So why is it not putting it into the string? I have used this method before, now that I have updated to Xcode 6 it stopped.</p>