From iOS 13, can not find 'iPad', i use this js current-device, it work.
this core:
const iPadOS13Up = navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1
https://github.com/matthewhudson/current-device/blob/master/src/index.js#L55
you can see you die type : http://matthewhudson.github.io/current-device/