---
title: never
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/url/formatstyle/hostdisplayoption/never
---

# never

A display option that never displays the host component.

## Declaration

```swift
static var never: URL.FormatStyle.HostDisplayOption { get }
```

## See Also

### Display options

- [always](foundation/url/formatstyle/hostdisplayoption/always.md)
- [omitIfHTTPFamily](foundation/url/formatstyle/hostdisplayoption/omitifhttpfamily.md)
- [displayWhen(_:matches:)](foundation/url/formatstyle/hostdisplayoption/displaywhen(_:matches:).md)
- [omitWhen(_:matches:)](foundation/url/formatstyle/hostdisplayoption/omitwhen(_:matches:).md)
- [omitSpecificSubdomains(_:includeMultiLevelSubdomains:)](foundation/url/formatstyle/hostdisplayoption/omitspecificsubdomains(_:includemultilevelsubdomains:).md)
- [omitSpecificSubdomains(_:includeMultiLevelSubdomains:when:matches:)](foundation/url/formatstyle/hostdisplayoption/omitspecificsubdomains(_:includemultilevelsubdomains:when:matches:).md)
- [URL.FormatStyle.Component](foundation/url/formatstyle/component.md)
