1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    36
    Vote Rating
    0
    ikim is on a distinguished road

      0  

    Default NSURLErrorDomain -999

    NSURLErrorDomain -999


    I created a very thin iOS wrapper (just renders a webview) to distribute my app as native however I'm running into an issue navigating to a page using iframe. Container.config.html =
    Code:
    <iframe src="https://myapp.com" width="100%" height="100%"></iframe>
    . The error I get is
    Code:
    (NSError *) $0 = 0x0d4f4f80 Error Domain=NSURLErrorDomain Code=-999 "The operation couldn’t be completed. (NSURLErrorDomain error -999.)" UserInfo=0xd4f5dd0 {NSErrorFailingURLKey=https://myapp.com, NSErrorFailingURLStringKey=https://myapp.com}
    . The site works fine navigating straight from the mobile Safari browser.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    -999 means it was canceled probably due to the url not being whitelisted. <iframe> on a mobile device is not recommended in an ST2 app.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    36
    Vote Rating
    0
    ikim is on a distinguished road

      0  

    Default


    Looks like the -999 issue was due to the fact that i had a default html iframe url in the container and was updating it with a new one. One thing that may be worth investigating, or not given that iframes aren't officially supported, is that they behave differently on the iPad 1, especially when using web clips. On the iPad 2 and iPhones the title bar in the container is visible however on the iPad 1 the iframe takes over the entire screen and am not able to access the back button on my title bar. I have since just opened the iframe in a separate tab.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi