Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

6 years ago by jlee

'ig.ua.mobile' does not work for 4.0 inch ipod touch5, somebody knows how to solve this issue?

6 years ago by lTyl

ig.ua.iPhone = all iPhone and iPod Touch devices
ig.ua.iPhone4 = iPhone 4 and 4th Gen iPod Touch
ig.ua.iOS = all iPhone, iPod Touch and iPad
ig.ua.mobile = iPhone, iPad, Android, WinPhone

From Documentation

6 years ago by Joncom

It does seem a little funny that "mobile" would include iPad, but not iPod...

6 years ago by nightbyter

To extend this question a bit more.
How do i detect a window 8 touch device, not windows phone?

This doesn't work:
if( ig.ua.touchDevice ) {
    window.myTouchButtons.draw(); 
}

6 years ago by nightbyter

Problem solved!
It was my fault. Was checking in the wrong place of the code.
Page 1 of 1
« first « previous next › last »