Код: Выделить всё
import Foundation
import SwiftUI
struct SomeViewName: View {
@State private var languages = [String]()
var body: some View {
NavigationView {
Form {
Section(header: Text("Some Section")) {
ForEach(0..
Подробнее здесь: [url]https://stackoverflow.com/questions/78727555/how-to-resize-a-button-foreground-to-fit-its-view-in-a-swiftui-form[/url]