---
title: alwaysMapped
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsdata/readingoptions/alwaysmapped
---

# alwaysMapped

Hint to map the file in if possible.

## Declaration

```swift
static var alwaysMapped: NSData.ReadingOptions { get }
```

## Discussion

Discussion This takes precedence over mappedIfSafe if both are given.

## See Also

### Constants

- [mappedIfSafe](foundation/nsdata/readingoptions/mappedifsafe.md)
- [uncached](foundation/nsdata/readingoptions/uncached.md)
