master
liaojinling 5 years ago
parent ca4f1954e4
commit d5dc2396f2

@ -45,7 +45,7 @@ class Request {
public function isIOS()
{
$userAgent = $this->getUserAgent();
if(stripos($userAgent, 'iphone') !== false || strpos($userAgent, 'ipad') !== false) {
if(stripos($userAgent, 'iphone') !== false || stripos($userAgent, 'ipad') !== false || stripos($userAgent, 'ipod') !== false) {
return true;
}
return false;

Loading…
Cancel
Save