<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ProgressView/init(_:)-3q5nf",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI12ProgressViewVA2A05EmptyD0VRs_rlEyACyAA4TextVAEGqd__cAGRszSyRd__lufc"
  },
  "title" : "init(_:)"
}
-->

# init(_:)

Creates a progress view for showing indeterminate progress that
generates its label from a string.

```
nonisolated init<S>(_ title: S) where Label == Text, S : StringProtocol
```

## Parameters

`title`

A string that describes the task in progress.

## Discussion

This initializer creates a [`Text`](/documentation/SwiftUI/Text) view on your behalf, and treats the
title similar to [`init(verbatim:)`](/documentation/SwiftUI/Text/init(verbatim:)). See [`Text`](/documentation/SwiftUI/Text) for more
information about localizing strings. To initialize a progress view with
a localized string key, use the corresponding initializer that takes a
`LocalizedStringKey` instance.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)