Distinguish between iPad and mac on iPad with iPadOs : <p>In iOS 13 apple changed the user-agent that iPad uses.</p>

<p>Instead of (for example)</p>

<blockquote>
  <p>Mozilla/5.0(<strong>iPad</strong>; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10</p>
</blockquote>

<p>it become (for example)</p>

<blockquote>
  <p>Mozilla/5.0 (<strong>Macintosh</strong>; Intel Mac OS X 10_15) AppleWebKit/605.1.15
  (KHTML, like Gecko) Version/13.0 Safari/605.1.15</p>
</blockquote>

<p>My question is how can we distinguish between iPad and mac now?</p>
