bahome / bawkwebview Goto Github PK
View Code? Open in Web Editor NEW用分类封装 WKWebView,一行代码搞定 request、URL、URLString、本地 HTML文件、HTMLString等请求,一个 block 搞定 title、progress、currentURL、当前网页的高度等等所需
License: MIT License
用分类封装 WKWebView,一行代码搞定 request、URL、URLString、本地 HTML文件、HTMLString等请求,一个 block 搞定 title、progress、currentURL、当前网页的高度等等所需
License: MIT License
}
添加cookie
加载url:https://www.baidu.com 错误信息:0x104043e18 - [pageProxyID=18, webPageID=19, PID=45509] WebPageProxy::didFailLoadForFrame: frameID=3, isMainFrame=1, domain=NSURLErrorDomain, code=-999
解决方法:
在controller中加入以下
加载url:https://www.baidu.com 错误信息:0x104043e18 - [pageProxyID=18, webPageID=19, PID=45509] WebPageProxy::didFailLoadForFrame: frameID=3, isMainFrame=1, domain=NSURLErrorDomain, code=-999
编译成功后提示”this app could not be installed at this time“ 错误
查了log是
UserInfo={LegacyErrorString=MissingBundleIdentifier, FunctionName=-[MIBundle _validateWithError:], SourceFileLine=45, NSLocalizedDescription=Bundle at path /Users/chenhe/Library/Developer/CoreSimulator/Devices/FAD89E18-8574-4676-865D-2EAB72A7983A/data/Library/Caches/com.apple.mobile.installd.staging/temp.MDSkbF/extracted/MKLive.app/Frameworks/BAWKWebView.framework did not have a CFBundleIdentifier in its Info.plist}}}
网页上有webP的图片源就无法正常加载
2018-01-28 15:33:19.827409+0800 dongman[51747:1697237] -[WKWebView setBa_web_isAutoHeight:]: unrecognized selector sent to instance 0x7fe49b8b0000
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.