Files
WebviewSdk_Unity_IOS/Assets/webview/CustomView.m
T

41 lines
728 B
Objective-C
Raw Normal View History

2026-07-09 10:28:18 +08:00
//
// CustomView.m
// UnityFramework
//
// Created by Mac on 2024/1/19.
//
#import "CustomView.h"
#import "H5View.h"
@implementation CustomView
{
// WKWebView *webview;
// UIView* unityView;
// //ViewCfg config;
// CGPoint hitTestLocation;
// BOOL isTouchWebView;
// BOOL isWebviewOpen;
// BOOL canCT;
int test;
}
+(id) shared{
static CustomView *view = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{view = [[self alloc] init];});
return view;
}
-(void)initView{
}
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
UIView* testview = [ [H5View shared]hitTest:point withEvent:event];
return testview;
}
@end