WP_Customize_Manager::is_ios PHP Method

is_ios() public method

Determine whether the user agent is iOS.
Since: 4.4.0
public is_ios ( ) : boolean
return boolean Whether the user agent is iOS.
    public function is_ios()
    {
        return wp_is_mobile() && preg_match('/iPad|iPod|iPhone/', $_SERVER['HTTP_USER_AGENT']);
    }
WP_Customize_Manager