Created
June 19, 2018 11:37
-
-
Save Ahed91/48ca7d9282fcceade0fa589b4cf8d553 to your computer and use it in GitHub Desktop.
check ios Alamofire api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Detect special conditions devices | |
$IOS = stripos($_SERVER['HTTP_USER_AGENT'],"iOS"); | |
//do something with this information | |
if( $IOS ){ | |
//browser reported as an iPhone/iPod touch -- do something here | |
} else { | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment