Comments (6)
具体是什么情况?有示例代码和截图吗?
from axwebviewcontroller.
Demo,TabbarViewController2,换成下面这个。
- (void)viewDidLoad {
[super viewDidLoad];
// [self loadURL:[NSURL URLWithString:@"https://www.baidu.com"]];
NSString *str = @"<p><a href=\"https://www.baidu.com\" target=\"_self\" title=\"https://www.baidu.com\">https://www.baidu.com</a><br/></p>";
[self loadHTMLString:str baseURL:[NSURL URLWithString:@"https://www.baidu.com"]];
}
webview会显示一个百度的链接,点击这个链接,会加载百度,这时左上角应该有关闭按钮,然而却没有显示。
from axwebviewcontroller.
运行出来后每次第一次加载这个控制器都非常慢。而且会报警告
objc[3809]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x122646910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x122470210). One of the two will be used. Which one is undefined.
2017-02-16 11:18:52.732 xiaojiujinfu[3809:511272] unexpected nil window in __dispatchPreprocessedEventFromEventQueue, _windowServerHitTestWindow: (null)
2017-02-16 11:18:52.733 xiaojiujinfu[3809:511272] unexpected nil window in __dispatchPreprocessedEventFromEventQueue, _windowServerHitTestWindow: (null)
from axwebviewcontroller.
@zhouxing5311 贴下代码
from axwebviewcontroller.
应该是Pod导致的。我看看
from axwebviewcontroller.
@pandaApe 这个问题貌似是系统的WebKit的原因,当我在点击链接跳转的时候去尝试获取历史列表,并不能获取到结果
from axwebviewcontroller.
Related Issues (20)
- 简单更新一下吧,去掉UIWebview,不然以后不能过审了
- 如何去掉导航栏返回按钮的“返回”两个字?
- 有洁癖 希望把UIWebView去掉 HOT 1
- apple网站顶部显示被遮挡
- 使用initWithRequest方法创建时,错误重试页面点击重试无效
- 继承不走WKNavigationDelegate代理方法 HOT 1
- 在打开的h5页面中下载一个PDF文件后,想重新在本地加载不成功
- 请问还维护么?UIWebView官方不再支持了,会优化么?
- var a = document.getElementsByTagName('a');for(var i=0;i<a.length;i++){a[i].setAttribute('target','');}
- 导入此库之后scrollview初始化方法崩溃
- showsNavigationBackBarButtonItemTitle 有问题
- 最新版为什么加载https会报错?
- 导航按钮返回键太靠左边,关闭按钮太靠右 了,请问作者怎么调整 HOT 2
- BUG WebKitErrorDomain Code=204 "插件处理的载入"
- 点击_blank链接不跳转
- itms-services安装
- Aspects
- 进度条结束的逻辑
- 您好,大佬,请问支持自定义UIActivity吗? HOT 1
- cleanCache时崩溃
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 axwebviewcontroller.