// // UserPrivacyProlicyViewController.m // XenonSDK // // Created by fq on 2020/12/12. // Copyright © 2020 SAGESSE. All rights reserved. // #import "UserPrivacyProlicyViewController.h" #import #import "XenonSDK.h" @interface UserPrivacyProlicyViewController () @property (unsafe_unretained, nonatomic) IBOutlet UIWebView *webView; @end @implementation UserPrivacyProlicyViewController - (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor = [UIColor whiteColor]; //self.webView = (UIWebView *)[[NSClassFromString(fqsd(@"iB0AAM3C0eDe0+fk9wA=")) alloc] initWithFrame:self.view.bounds]; if (self.webView == nil) { return; } self.webView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; self.webView.backgroundColor = UIColor.clearColor; [self.webView setValue:self forKey:@"delegate"]; [self.view addSubview:self.webView]; NSURL* url =[NSURL URLWithString:@"http://www.funcheergame.com/html/privacy_prolicy.html"]; // -[UIWebView loadRequest:] ((void(*)(id,SEL,id))objc_msgSend)(self.webView, NSSelectorFromString(fqsd(@"rEsAAMHQ0pnAxLe7qr7L0AI=")), [NSURLRequest requestWithURL:url]); } //- (BOOL)webView:(id)webView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(NSInteger)navigationType { // // // -[UIApplication openURL:] // ((void(*)(id,SEL,id))objc_msgSend)(UIApplication.sharedApplication, NSSelectorFromString(fqsd(@"p2cAAMrAyrKwq5rIAA==")), request.URL); // return NO; //} - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; } - (void)viewWillDisappear:(BOOL)animated { [super viewWillDisappear:animated]; } - (BOOL)prefersUnifiedBackground { return NO; } - (void)closeViewAction:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } @end