dfmuir / KINWebBrowser

A web browser module for your iOS apps.
Other
838 stars 167 forks source link

unable to open itunes url #32

Closed ukind closed 9 years ago

ukind commented 9 years ago

when I tried to load an url from itunes such "https://itunes.apple.com/us/album/mobius-pink/id383268386" . it seems the browser refuse to load the url . this is my code @IBAction func Buy(sender: AnyObject) {

    let con = KINWebBrowserViewController()
    let url = NSURL(string: "https://itunes.apple.com/us/album/mobius-pink/id383268386")
    println(url)
    con.loadURL(url)
    self.navigationController?.pushViewController(con, animated: true)

}
ukind commented 9 years ago

my mistakes, it works. in the real device . but wont open in simulator.