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?
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?