//
//  CustomView.h
//  UnityFramework
//
//  Created by Mac on 2024/1/19.
//

 #import <UIKit/UIKit.h>
 #import <WebKit/WebKit.h>

 NS_ASSUME_NONNULL_BEGIN

 @interface CustomView : UIView<WKUIDelegate, WKNavigationDelegate, WKScriptMessageHandler>
 +(id) shared;
 -(void)initView;
 //-(void)setConfig:(ViewCfg)cfg;
 -(void)userContentController:(WKUserContentController*) userContentController didReceiveScriptMessage:(WKScriptMessage*)message;

 @end

 NS_ASSUME_NONNULL_END
