From c51223b795955237184e410ffb2f8be61c9f3880 Mon Sep 17 00:00:00 2001 From: "Paul J. Adam" Date: Wed, 19 Nov 2025 20:02:35 -0600 Subject: [PATCH] Update SwiftLintView.swift --- .../SwiftLintView.swift | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/iOSswiftUIa11yTechniques/iOSswiftUIa11yTechniques/SwiftLintView.swift b/iOSswiftUIa11yTechniques/iOSswiftUIa11yTechniques/SwiftLintView.swift index 4ecbc78..dcb3696 100644 --- a/iOSswiftUIa11yTechniques/iOSswiftUIa11yTechniques/SwiftLintView.swift +++ b/iOSswiftUIa11yTechniques/iOSswiftUIa11yTechniques/SwiftLintView.swift @@ -71,16 +71,19 @@ struct SwiftLintView: View { .aspectRatio(contentMode: .fit) .frame(width: 100, height: 100) .accessibilityIdentifier("badImage") - Image("get10off") - .resizable() - .aspectRatio(contentMode: .fit) - .frame(width: 100, height: 100) - .accessibilityIdentifier("badImage") - Image("get10off") - .resizable() - .aspectRatio(contentMode: .fit) - .frame(width: 100, height: 100) - .accessibilityIdentifier("badImage") + Image(systemName: "star.fill") + .foregroundColor(.yellow) + Button { + print("Tapped") + } label: { + Image(systemName: "trash") + } + Circle() + .fill(Color.blue) + .frame(width: 50, height: 50) + .onTapGesture { + print("Tapped circle") + } DisclosureGroup("Details") { Text("The bad example has no single tap alternatives to move or zoom the map.") }.accessibilityHint("Bad Example")