Deployment target iOS device resolution
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
Native |
Native device resolution |
ResolutionAutoPerformance |
Auto (Best Performane) |
ResolutionAutoQuality |
Auto (Best Quality) |
Resolution320p |
320p (iPhone) |
Resolution640p |
640p (Iphone Retina Display) |
Resolution768p |
768p (iPad) |