Quantcast
Viewing all articles
Browse latest Browse all 10823

How to Get Type of iOS Device?

Hello,

I am trying to resize screen view of my game by getting type of the iOS device. Actually, i only resize it for iPAD devices. But the code i give below doesn't seem to work. When i run the project in iPAD simulator of xCODE, it doesn't read the code and resize the game. What's wrong with these codes or what should i use to get the type of the iOS devide?

I was using 'iPhoneSettings.generation == iPhoneGeneration.iPad1Gen' in Unity 4.x but it seems that it's changed as this in unity...

How to Get Type of iOS Device?

Viewing all articles
Browse latest Browse all 10823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>