Browser::getChromeVersionOnIos PHP Method

getChromeVersionOnIos() protected method

Detect Version for the Chrome browser on iOS devices
protected getChromeVersionOnIos ( ) : boolean
return boolean True if it detects the version correctly otherwise false
    protected function getChromeVersionOnIos()
    {
        $aresult = explode('/', stristr($this->_agent, 'CriOS'));
        if (isset($aresult[1])) {
            $aversion = explode(' ', $aresult[1]);
            $this->setVersion($aversion[0]);
            $this->setBrowser(self::BROWSER_CHROME);
            return true;
        }
        return false;
    }