目的:易于使用的常用 UIWebViewController
pod 'CrayWebViewController'
查看示例。
pod try CrayWebViewController
CrayTabWebViewController
应用到 UIViewController 类。URL
属性或调用 - (void)goToAddress:(NSString *) URL;
CrayStandaloneWebViewController *controller = [CrayStandaloneWebViewController webViewController];
controller.URL = @"https://google.com";
[self.navigationController pushViewController:controller animated:YES];
它是 CrayStandaloneWebViewController 与返回按钮的组合。
CrayAllInOneBackWebViewController *controller = [CrayAllInOneBackWebViewController webViewController];
controller.URL = @"https://google.com";
[self.navigationController pushViewController:controller animated:YES];
场景
[self.navigationController popViewControllerAnimated:YES];
提供简单的模态 WebViewController
NSString *url = @"https://google.com";
[CrayModalWebViewController showFromViewController:self URL:url];
git checkout -b my-new-feature
git commit -am '添加某些功能'
git push origin my-new-feature
MIT