How to detect iphone 6 and iphone 6 plus

Hi Guys

I tried to put "game.screen.size.width": 960 (1920/2) to detect iphone 6 plus and 667 (1334/2) to detect iphone 6. But none of these rules works. So, how can I detect these new iphone??

Thank you!

Comments

  • Andrea_ComisiAndrea_Comisi ItalyMember Posts: 328

    Why you have to detect the new iphone? Their ratio is the same as the iphone 5 ratio so you can use stretch and have a perfect game

  • zenoahzenoah Member, PRO Posts: 56

    Is the game in portrait or landscape?

  • traceur93traceur93 Member Posts: 44

    I have solve the problem. Stupid error. I have to detect iphone 6 because my project is Ios Universal and any actors have's specific rules to move up or down depending from devices. The rule write on my first post work great.
    Thank you at all!
    Federico

Sign In or Register to comment.