使用iOS可以指定页面打开
NSString* pWWWPath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"www"];
//url指定页面
pAppHandle = [[[PDRCore Instance] appManager] openAppAtLocation:pWWWPath withIndexPath:url withArgs:pArgus withDelegate:self];
使用android却不可以,只能指定路径
使用webview却可以,但是使用webview又不能实现mui.openWindow方法打开新页面
为什么两端不可以统一呢?
String appBasePath = "/apps/H5Plugin";
SDK.startWebApp(activity, appBasePath, args, new IWebviewStateListener(){} );
0 个回复