Comments (6)
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.
This websites also stuck the webview:
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.
Nobody ?
@kmikael ?
from pbwebviewcontroller.
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.
Thanks @kmikael
All 3 links open normally in another UIWebView i have in my app.
from pbwebviewcontroller.
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)
- Portrait <--> Landscape: Content Disappears HOT 3
- On page load delegate method HOT 2
- Use as browser HOT 4
- Using WebView in Navigation Controller shows previously loaded page HOT 3
- Make a New Cocoapods Release with the Latest Changes HOT 1
- Podspec limited only for iOS7 HOT 1
- Unloaded web views have black background HOT 1
- Question on same-origin policy (SOP) across iframes HOT 3
- support cache? HOT 3
- Full Screen feature HOT 2
- PBSafariActivity not in PBWebViewController Pod HOT 1
- No basic authentication support
- Video auto play in webview is not working for ios
- Hide navigation toolbar feature HOT 4
- New version not in CocoaPods HOT 3
- PBSafariActivity not found after Pod Install HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pbwebviewcontroller.