Files
yinmeng-ios/xplan-ios/Main/XPWebViewController.h
2022-08-18 19:58:32 +08:00

29 lines
898 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// XPWebViewController.h
// xplan-ios
//
// Created by zu on 2021/9/16.
//
#import "BaseViewController.h"
#import <WebKit/WebKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface XPWebViewController : BaseViewController
@property (strong, nonatomic,readonly) WKWebView *webview;
//TODO: 先这样传进来 等修改了保存房间信息的manager 之后在修改
@property (nonatomic,copy) NSString *roomUid;
@property (copy, nonatomic) NSString *url;
/// URL加载完成回调result:加载结果成功/失败error:失败原因
@property (nonatomic, copy) void (^urlLoadCompleted)(BOOL result, NSError * _Nullable error);
///是都隐藏导航栏 目前适用于半屏的情况下
@property (nonatomic,copy) void (^InitShowNavBlock)(BOOL show);
///关闭webView 目前适用于半屏的情况下
@property (nonatomic,copy) void (^CloseWebViewBlock)(BOOL result);
@end
NS_ASSUME_NONNULL_END