<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ControlGroup/init(_:image:content:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI12ControlGroupV_5image7contentACyAA07LabeledcD7ContentVyqd__AA5LabelVyAA4TextVAA5ImageVGGG10Foundation23LocalizedStringResourceV_21DeveloperToolsSupport0kO0Vqd__yXEtcAORszAA4ViewRd__lufc::OverloadGroup"
  },
  "title" : "init(_:image:content:)"
}
-->

# init(_:image:content:)

Creates a new control group with the specified content that generates
its label from a localized string resource and image resource.

```
@export(implementation) nonisolated init<C>(_ titleResource: LocalizedStringResource, image: ImageResource, @ContentBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View
```

## Parameters

`titleResource`

Text resource for the group’s localized title, that
describes the contents of the group.

---

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)