---
title: shouldUseExtendedBackgroundIdleMode
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/urlsessionconfiguration/shoulduseextendedbackgroundidlemode
---

# shouldUseExtendedBackgroundIdleMode

A Boolean value that indicates whether TCP connections should be kept open when the app moves to the background.

## Declaration

```swift
var shouldUseExtendedBackgroundIdleMode: Bool { get set }
```

## Discussion

Discussion In addition to requesting that the connection be kept open, setting this value to true asks the system to delay reclaiming the connection when the app moves to the background.

## See Also

### Related Documentation

- [Networking and Multitasking](apple-archive/technotes/tn2277/_index.html.md)

### Supporting background transfers

- [sessionSendsLaunchEvents](foundation/urlsessionconfiguration/sessionsendslaunchevents.md)
- [isDiscretionary](foundation/urlsessionconfiguration/isdiscretionary.md)
