IMSBoneWebView Class Reference
Inherits from | UIView |
---|---|
Declared in | IMSBoneWebView.h |
openNewPage
打开新页面的路由注册,只针对当前web view实例有效
@property (nonatomic, strong) IMSBoneWebOpenNewPage openNewPage
Discussion
打开新页面的路由注册,只针对当前web view实例有效
Declared In
IMSBoneWebView.h
+ setGolbOpenNewPage:
打开新页面的路由注册,全局有效,若属性openNewPage不为空,则以openNewPage为优先
+ (void)setGolbOpenNewPage:(IMSBoneWebOpenNewPage)openHandler
Discussion
打开新页面的路由注册,全局有效,若属性openNewPage不为空,则以openNewPage为优先
Declared In
IMSBoneWebView.h
– emitEventWithName:message:
发送事件给js
- (void)emitEventWithName:(NSString *)eventName message:(NSDictionary *)message
Parameters
eventName |
事件名 |
---|---|
message |
事件内容 |
Discussion
发送事件给js
Declared In
IMSBoneWebView.h
– webDidResume
当前web页面重后台切到前台时需要上报给前端
- (void)webDidResume
Discussion
当前web页面重后台切到前台时需要上报给前端
Declared In
IMSBoneWebView.h
– webWillPause
当前web页面退到后台需要上报给前端
- (void)webWillPause
Discussion
当前web页面退到后台需要上报给前端
Declared In
IMSBoneWebView.h