WebViewControllerProtocol
extension WebViewControllerProtocol where Self: UIViewController
-
网页视图,默认显示滚动条,启用前进后退手势
Declaration
Swift
@nonobjc public var webView: WebView { get }
-
左侧按钮组,依次为返回|关闭,支持UIBarButtonItem|UIImage|NSString|NSNumber等。可覆写,默认nil
Declaration
Swift
@nonobjc public var webItems: NSArray? { get set }
-
网页请求,设置后会自动加载,支持NSString|NSURL|NSURLRequest。默认nil
Declaration
Swift
@nonobjc public var webRequest: Any? { get set }