YSWebView 1.0.2

YSWebView 1.0.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Feb 2016

Maintained by Bogdan Poplauschi.



YSWebView 1.0.2

  • By
  • Bogdan Hapca

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

How to get started

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