I am using flash cs6. and AIR 14. I want to get iOS device resolution in AIR.
My code is:
var screenWidth:String = String(Capabilities.screenResolutionX);
var screenHeight:String = String(Capabilities.screenResolutionY);
By using this code I am getting desktop and android device resolutions correctly, but in case of iOS I am getting the wrong resolution.
Installed app on iPad 3 MODEL is MC705HN/A, the correct resolution is 2048-by-1536-pixel, but I am getting 1024/768.