Code Monkey home page Code Monkey logo

Comments (6)

kmikael avatar kmikael commented on July 26, 2024

I really don't know. I couldn't reproduce the crash. It could be that the site uses to much memory or that the site itself has a JavaScript bug.

from pbwebviewcontroller.

brbgyn avatar brbgyn commented on July 26, 2024

This websites also stuck the webview:

http://m.cbn.globoradio.globo.com/default_mobile.htm?url=/editorias/economia/2015/09/14/CORTES-NO-MINHA-CASA-MINHA-VIDA-VAO-GERAR-ECONOMIA-DE-R-48-BILHOES.htm

http://m.cbn.globoradio.globo.com/default_mobile.htm?url=/comentaristas/kennedy-alencar/2015/09/14/DILMA-ESTA-DANDO-SINAIS-DE-QUE-VAI-ERRAR-DE-NOVO.htm

Here is the link for the sample project with the problem:

https://www.dropbox.com/sh/e2nbmow6br20x2f/AADDECbeccIftb_cpL4XGxUja?dl=0

Just get the original project and in KMMasterViewController.m substitute:

- (NSArray *)bookmarks
{
    if (!_bookmarks) {
        _bookmarks = @[
            @"http://www.apple.com",
            @"http://daringfireball.net",
            @"http://www.macstories.net",
            @"http://www.macdrifter.com",
            @"http://brettterpstra.com",

            @"http://www.pinbrowser.co",
            @"http://kmikael.com",
            @"https://twitter.com/mkonutgan"
        ];
    }

    return _bookmarks;
}

for:

- (NSArray *)bookmarks
{
    if (!_bookmarks) {
        _bookmarks = @[
            @"http://m.cbn.globoradio.globo.com/default_mobile.htm?url=/editorias/economia/2015/09/14/CORTES-NO-MINHA-CASA-MINHA-VIDA-VAO-GERAR-ECONOMIA-DE-R-48-BILHOES.htm",
            @"http://cbn.globoradio.globo.com/comentaristas/mauro-halfeld/2015/08/27/ONDE-FICA-O-FUNDO-DO-POCO-DESSA-CRISE.htm",
            @"http://m.cbn.globoradio.globo.com/default_mobile.htm?url=/comentaristas/kennedy-alencar/2015/09/14/DILMA-ESTA-DANDO-SINAIS-DE-QUE-VAI-ERRAR-DE-NOVO.htm",
            @"http://www.macdrifter.com",
            @"http://brettterpstra.com",

            @"http://www.pinbrowser.co",
            @"http://kmikael.com",
            @"https://twitter.com/mkonutgan"
        ];
    }

    return _bookmarks;
}

And test it, please.

Thank you

from pbwebviewcontroller.

brbgyn avatar brbgyn commented on July 26, 2024

Nobody ?

@kmikael ?

from pbwebviewcontroller.

kmikael avatar kmikael commented on July 26, 2024

On the iPad it always works. On the iPhone I can confirm that it gets stuck. I don't have an idea why at the moment.

Did you try the URLs in a UIWebView without PBWebViewController?

from pbwebviewcontroller.

brbgyn avatar brbgyn commented on July 26, 2024

Thanks @kmikael

All 3 links open normally in another UIWebView i have in my app.

from pbwebviewcontroller.

brbgyn avatar brbgyn commented on July 26, 2024

Doing some tests now i can see that sometimes it stucks, but sometimes not.

I think iOS 9 is dealing better with PBWebViewController

Strange behavior

from pbwebviewcontroller.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.