iOS Forms
Form views let users answer questions or change settings.

When to use
Use a form view when the screen collects user input or configuration, for example using toggles, pickers or text fields.
When not to use
Do not use a form view if the screen contains a list of similar items that the user can navigate to or take actions on, use list views instead.
If the screen only contains content and buttons or links, use a scroll view instead.
How to use
Use a standard SwiftUI Form and apply styling by adding a formStyle(.nhsForm) modifier. This will automatically apply the toggle style to any included toggles.
Add a formActions { } modifier to contain the primary button. This will pin it to the bottom of the screen, with the content scrolling beneath it.
This example shows a form with some toggles:
For full documentation, see SwiftUI: Form on the Apple developer documentation website.