Giter VIP home page Giter VIP logo

Comments (6)

devedbox avatar devedbox commented on May 18, 2024

具体是什么情况?有示例代码和截图吗?

from axwebviewcontroller.

pandaApe avatar pandaApe commented on May 18, 2024

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.

zhouxing5311 avatar zhouxing5311 commented on May 18, 2024

运行出来后每次第一次加载这个控制器都非常慢。而且会报警告
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.

devedbox avatar devedbox commented on May 18, 2024

@zhouxing5311 贴下代码

from axwebviewcontroller.

zhouxing5311 avatar zhouxing5311 commented on May 18, 2024

应该是Pod导致的。我看看

from axwebviewcontroller.

devedbox avatar devedbox commented on May 18, 2024

@pandaApe 这个问题貌似是系统的WebKit的原因,当我在点击链接跳转的时候去尝试获取历史列表,并不能获取到结果

from axwebviewcontroller.

Related Issues (20)

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.