// // XJBaseWebViewVC.h // ScarHousekeeper // // Created by 张小万 on 2021/1/21. // #import #import NS_ASSUME_NONNULL_BEGIN typedef enum { WkJSMessageTypeDefault = 0, WkJSMessageTypeBack = 1, }WkJSMessageType; typedef enum { RightDefaultType = 0, RightCompleteType = 1, }RightNavType; @protocol WebJSExport - (void)startFunction; @end @interface XJBaseWebViewVC : XJBaseViewController @property (nonatomic, strong) NSString *webUrl; @property (nonatomic, strong) NSString *webTitle; @property (nonatomic, strong) JSContext *context; @property (nonatomic, strong) WKWebView *wkWebView; @property (nonatomic, assign) RightNavType rightType; - (void)webViewRequest; @end NS_ASSUME_NONNULL_END