Contents

init(_:systemImage:content:)

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

Declaration

nonisolated init<C, S>(_ title: S, systemImage: String, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View, S : StringProtocol

Parameters

  • title:

    A string that describes the contents of the group.

  • systemImage:

    The name of the image resource to lookup.

See Also

Creating a control group with an image