Latest 1.0.2
Homepage https://github.com/YardiSystems/YSWebView
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit, WebKit*
Authors

Build Status
Pod Version
Pod Platform
Pod License

YSWebView wraps a webview, UIWebView or WKWebView based on the OS availability.

YSWebViewYSWebView

How to get started

install via CocoaPods

platform :ios, '7.0'
pod 'YSWebView'

example

#import <YSWebView.h>
...

YSWebView *webView = [[YSWebView alloc] initWithFrame:frame];
[self.view addSubview:webview];

[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.yardi.com"]]];
OR
NSString *htmlString = @"<html><body><h1>title</h1></body></html>";
[webView loadHTMLString:htmlString baseURL:baseUrl];

Requirements

  • Xcode4 and above
  • iOS 7.0 or above

Author

License

Latest podspec

{
    "name": "YSWebView",
    "version": "1.0.2",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "summary": "Wrapper for UIWebView or WKWebView",
    "homepage": "https://github.com/YardiSystems/YSWebView",
    "source": {
        "git": "https://github.com/YardiSystems/YSWebView.git",
        "tag": "1.0.2"
    },
    "authors": {
        "Bogdan Hapca": "[email protected]"
    },
    "description": "YSWebView wraps a webview, UIWebView or WKWebView based on the OS availability",
    "requires_arc": true,
    "platforms": {
        "ios": "7.0"
    },
    "preserve_paths": "README*",
    "default_subspecs": "Core",
    "frameworks": "UIKit",
    "weak_frameworks": "WebKit",
    "subspecs": [
        {
            "name": "Core",
            "source_files": "YSWebView/*.{h,m}",
            "public_header_files": "YSWebView/*.h",
            "dependencies": {
                "Masonry": []
            }
        }
    ]
}

Pin It on Pinterest

Share This