Use setScreenDpi() on iOS.