Browser::checkBrowseriPad PHP Method

checkBrowseriPad() protected method

Determine if the browser is iPad or not (last updated 1.7)
protected checkBrowseriPad ( ) : boolean
return boolean True if the browser is iPad otherwise false
    protected function checkBrowseriPad()
    {
        if (stripos($this->_agent, 'iPad') !== false) {
            $this->setVersion(self::VERSION_UNKNOWN);
            $this->setBrowser(self::BROWSER_IPAD);
            $this->getSafariVersionOnIos();
            $this->getChromeVersionOnIos();
            $this->checkForFacebookIos();
            $this->setTablet(true);
            return true;
        }
        return false;
    }