iOS 小程序原生页面的请求UA没有miniprogram标识
如题,iOS端小程序原生页请求时,UA里没有miniprogram,拿了两个iPhone测试都没有 // iPhone 11
Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.18(0x18001224) NetType/WIFI Language/zh_CN
// iPhone 8 Plus
Mozilla/5.0 (iPhone; CPU iPhone OS 14_4_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.17(0x1800112d) NetType/WIFI Language/zh_CN
但打开内嵌 webview,webview页面的请求UA是有miniprogram的 // iPhone 11
Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.18(0x18001224) NetType/WIFI Language/zh_CN miniProgram/wxxxxxxxxxxxxxxxxxxxxx
// iPhone 8 Plus
Mozilla/5.0 (iPhone; CPU iPhone OS 14_4_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.17(0x1800112d) NetType/WIFI Language/zh_CN miniProgram/wxxxxxxxxxxxxxxx
安卓正常,但UA看起来也像是改过,变成了 MiniProgramEnv/android Mozilla/5.0 (Linux; Android 11; SM-G9750 Build/RP1A.200720.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3185 MMWEBSDK/20220105 Mobile Safari/537.36 MMWEBID/815 MicroMessenger/8.0.19.2080(0x28001337) Process/appbrand2 WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64 MiniProgramEnv/android
请问有什么修改UA的方法吗,或者这是一个bug?