protected function _isIos()
{
// Compare in order of likelyhood / most recent to least recent versions.
if (strpos($this->{self::OS}, 'iOS') === 0 || strpos($this->userAgent, 'iOS') === 0 || in_array(Horde_String::lower($this->clientType), array(self::TYPE_IPAD, self::TYPE_IPOD, self::TYPE_IPHONE)) || strpos($this->userAgent, 'Apple-') === 0) {
return true;
}
return false;
}