<p>I'm working on an app that requires no user input, but I don't want the iPhone to enter the power saving mode.</p>

<p>Is it possible to disable power saving from an app?</p>

Objective-C
```
```
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
```
```
Swift
```
```
UIApplication.shared.isIdleTimerDisabled = true
```
```