i know this question been asked a lot and i searched before but was not able to find a way to detect ios webview in php
react native app that on an app page i use webview and i want to display some information when this webpage is loaded from my react native app
for android i have done it like this and it work
if($_SERVER['HTTP_X_REQUESTED_WITH'] == "com.appp.app")
now for ios $_SERVER['HTTP_X_REQUESTED_WITH return null
i have tried
$_SERVER['HTTP_USER_AGENT']
other answers found here was not able to set only for app it is also detect safari
i need only to detect app
thanks for the help