---
title: "init(title:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uinavigationitem/init(title:)"
---

# init(title:)

Creates a navigation item with the specified title.

## Declaration

```swift
init(title: String)
```

## Parameters

- `title`: The string to set as the navigation item’s title displayed in the center of the navigation bar.

## Return Value

Return Value A new UINavigationItem object initialized with the specified title.

## Discussion

Discussion This is the designated initializer for this class.

## See Also

### Related Documentation

- [title](uikit/uinavigationitem/title.md)

### Initializing an item

- [init(coder:)](uikit/uinavigationitem/init(coder:).md)
