How to disable the screensaver on iPhone

I making a game using only the acceleratoras input and the screen on the iPhone is turning dark after a while. How do I prevent this? Can anyone help me on this?

Look for screencandarken or similar in the Docs.

iPhoneSettings.screenCanDarken = false;

Thanks a lot. I never thought of looking for the solution in Unity.