2013-09-22 26 views

cevap

4

bu

navigator.userAgent.match(/(iPad|iPhone);.*CPU.*OS 7_\d/i) 
23

bu (aynı zamanda iPod touch algılamak için) deneyin deneyin:

navigator.userAgent.match(/(iPad|iPhone|iPod touch);.*CPU.*OS 7_\d/i) 
+0

Çözüm için teşekkürler – Viktor

0
/iP(ad|hone|od)/.test(navigator.userAgent) 

basit T/F verir .

+0

Bu yalnızca sürüm 7'yi algılamıyor ... – Jon

İlgili konular