Basic setup of AutoRetina - dwd31415/AutoRetina GitHub Wiki

AutoRetina only works, if your Unity App is set to use the native device resolution, to do this you just have
to go to the PlayerSettings of your Project and select the iOS tab there and go to Other Settings and set the "Target Resolution" parameter to Native.

Screnshot

Once you have done this you can use AutoRetina from your scripts.