Hocam ben js kodunu sitemde kullandım iOS için özel bir kod yazmam gerekiyordu bu şekilde hallettim.
function iOS() {
return [
'iPad Simulator',
'iPhone Simulator',
'iPod Simulator',
'iPad',
'iPhone',
'iPod'
].includes(navigator.platform)
// iPad on iOS 13 detection
|| (navigator.userAgent.includes("Mac") && "ontouchend" in document)
}
Hocam bu kod sadece ios cihazlarda görünmesini mi sağlıyor reklamın? Nerede ve nasıl kullandığımız hakkında bilgi verebilirseniz çok sevinirim