public function isIOS()
    {
        // get user agent
        $browser = $this->getUserAgent();

        return (strpos($browser, 'iphone') || strpos($browser, 'ipod') || strpos($browser, 'ipad'));
    }
public function isIOS()
    {
        // get user agent
        $browser = $this->getUserAgent();

        return (strpos($browser, 'iphone') || strpos($browser, 'ipod') || strpos($browser, 'ipad'));
    }
public function isIOS ( ) { // get user agent $ browser = $ this -> getUserAgent ( ) ; return ( strpos ( $ browser , 'iphone' ) || strpos ( $ browser , 'ipod' ) || strpos ( $ browser , 'ipad' ) ) ; }
Is iOS - Check if the user is using an iOS-device

@return bool
Is iOS - Check if the user is using an iOS - device