PDRCoreAppFrame Class Reference
| Inherits from | PDRNView : UIView |
|---|---|
| Declared in | PDRCoreAppFrame.h |
– initWithName:loadURL:frame:
创建runtime页面
- (PDRCoreAppFrame *)initWithName:(NSString *)frameName loadURL:(NSString *)pagePath frame:(CGRect)frameParameters
pagePath |
页面地址 支持http:// file:// 本地地址 |
|---|---|
frame |
页面位置 |
frameID |
页面标示 |
Return Value
PDRCoreAppFrame*
Declared In
PDRCoreAppFrame.h
frameName
页面名字用作plus.webview.findViewById()中的id
@property (nonatomic, copy) NSString *frameNameDiscussion
页面名字用作plus.webview.findViewById()中的id
Declared In
PDRCoreAppFrame.h
webEngine
HTML CSS渲染View
@property (nonatomic, readonly) H5WEWebEngine *webEngineDiscussion
HTML CSS渲染View
Declared In
PDRCoreAppFrame.h
currenLocationHref
页面地址
@property (nonatomic, copy) NSString *currenLocationHrefDiscussion
页面地址
Declared In
PDRCoreAppFrame.h
– stringByEvaluatingJavaScriptFromString:
在当前页面同步执行Javascript
- (NSString *)stringByEvaluatingJavaScriptFromString:(NSString *)jsParameters
js |
javasrcipt 脚本 |
|---|
Return Value
NSString* 执行结果
Declared In
PDRCoreAppFrame.h
– dispatchDocumentEvent:
触发document事件 document.addEventListener(evtName,function(e){})
- (void)dispatchDocumentEvent:(NSString *)evtNameDeclared In
PDRCoreAppFrame.h