Latest 0.1.0
Homepage https://github.com/yuhanle/YHLWebViewController
License MIT
Platforms ios 7.0, requires ARC
Authors

CI Status
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

实现类似微信的webView导航效果,左滑返回上个网页,就像UINavigationController

Requirements

xcode, iOS 6.0+

Installation

YHLWebViewController is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "YHLWebViewController"

定制 navigation bar tint color and back button style 导航栏的颜色和返回按钮样式(详见demo)

导航栏中出现的 返回 和 关闭 ,均会继承你的 navigationController 中对 navigationBar 的设置,比如:

UIColor* tintColor = [UIColor whiteColor];
UIColor* barTintColor = [UIColor blueColor];
self.navigationController.navigationBar.tintColor = tintColor;
self.navigationController.navigationBar.barTintColor = barTintColor;
[self.navigationController.navigationBar setTitleTextAttributes:@{                                                                  NSForegroundColorAttributeName:tintColor
                                                                 }];

Author

煜寒了:关注我

Result

result picture

License

YHLWebViewController is available under the MIT license. See the LICENSE file for more info.

Thanks

just reference RxWebViewController and used NJKWebViewProgress to make navigation progress, it helps a lot

Latest podspec

{
    "name": "YHLWebViewController",
    "version": "0.1.0",
    "summary": "YHLWebViewController like wechat WebView style",
    "description": "YHLWebViewController u5b9eu73b0u7c7bu4f3cu5faeu4fe1u7684 webView u5bfcu822au6548u679cuff0cu5305u62ecu8fdbu5ea6u6761uff0cu5de6u6ed1u8fd4u56deu4e0au4e2au7f51u9875u6216u8005u76f4u63a5u5173u95ed",
    "homepage": "https://github.com/yuhanle/YHLWebViewController",
    "license": "MIT",
    "authors": {
        "yuhanle": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yuhanle/YHLWebViewController.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "YHLWebViewController": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This