首页 > 解决方案 > 在 iOS 设备中,在 WebView 中打开内容时获取 _userSettingsForUser 移动

问题描述

在 iOS 设备中,从 iOS 12.2 开始,在 WebView 中打开内容时,它会在控制台中抛出以下行。

WF: _userSettingsForUser mobile: {
    filterBlacklist =     (
    );
    filterWhitelist =     (
    );
    noOverridingAllowed = 1;
    restrictWeb = 1;
    useContentFilter = 0;
    useContentFilterOverrides = 0;
    whitelistEnabled = 0;
}
WF: _WebFilterIsActive returning: NO*```

Due to this, the content is loaded properly, so the buttons/redirections in the content are not working.

How to resolve it?

标签: ioswebviewios12

解决方案


这不是错误,而只是日志。为了擦除它,只需在编辑方案中将环境变量:OS_ACTIVITY_MODE 设置为“禁用”。

在此处输入图像描述


推荐阅读