容器提供添加自定义 userAgent 的接口,可设置当前应用所有 H5 页面的 UserAgent。

您可以在 DTFrameworkInterface 的 - (void)application:(UIApplication )application afterDidFinishLaunchingWithOptions:(NSDictionary )launchOptions 中调用。

代码示例
[MPNebulaAdapterInterfaceshareInstance].nebulaUserAgent = @"mPaaS/Portal";该文章对您有帮助吗?