// // FLEXWebViewController.m // Flipboard // // Created by Ryan Olson on 6/10/14. // Copyright (c) 2020 FLEX Team. All rights reserved. // #import #if TARGET_OS_TV @protocol KBWebViewDelegate; @interface KBWebView: UIView @property (nullable, nonatomic, assign) id delegate; - (void)loadRequest:(NSURLRequest *)request; - (void)loadHTMLString:(NSString *)string baseURL:(nullable NSURL *)baseURL; - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName baseURL:(NSURL *)baseURL; @property (nullable, nonatomic, readonly, strong) NSURLRequest *request; - (void)reload; - (void)stopLoading; - (void)goBack; - (void)goForward; @end #endif @interface FLEXWebViewController : UIViewController - (id)initWithURL:(NSURL *)url; - (id)initWithText:(NSString *)text; + (BOOL)supportsPathExtension:(NSString *)extension; @end