I need to get the data from the url it works for other url like udemy but returns nil for url="http://www.google.com/finance/converter?a=1&from=USD&to=INR" how to solve this issue. i have added app transport security too..
let url = NSURL(string: "https://www.udemy.com/the-complete-ios-9-developer-course/")!
let task = NSURLSession.sharedSession().dataTaskWithURL(url) { (data, response, error) -> Void in
if let url_content = data{
let webcontent = NSString(data: url_content, encoding: NSUTF8StringEncoding)
print(webcontent)
}
}
task.resume()