From 21f58ead5beb6654017fb9ae7572e3b3e339c908 Mon Sep 17 00:00:00 2001 From: Alex Odawa Date: Thu, 18 Jan 2024 23:08:05 +0100 Subject: [PATCH] is it as simple as importing accessibility? --- .../AccessibilityCustomContentViewController.swift | 1 + .../Core/Swift/Classes/AccessibilityHierarchyParser.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/Example/AccessibilitySnapshot/AccessibilityCustomContentViewController.swift b/Example/AccessibilitySnapshot/AccessibilityCustomContentViewController.swift index 4437b701..2018536a 100644 --- a/Example/AccessibilitySnapshot/AccessibilityCustomContentViewController.swift +++ b/Example/AccessibilitySnapshot/AccessibilityCustomContentViewController.swift @@ -16,6 +16,7 @@ import Paralayout import UIKit +import Accessibility @available(iOS 14.0, *) final class AccessibilityCustomContentViewController: AccessibilityViewController { diff --git a/Sources/AccessibilitySnapshot/Core/Swift/Classes/AccessibilityHierarchyParser.swift b/Sources/AccessibilitySnapshot/Core/Swift/Classes/AccessibilityHierarchyParser.swift index 49008f8c..6b9e2f95 100644 --- a/Sources/AccessibilitySnapshot/Core/Swift/Classes/AccessibilityHierarchyParser.swift +++ b/Sources/AccessibilitySnapshot/Core/Swift/Classes/AccessibilityHierarchyParser.swift @@ -15,6 +15,7 @@ // import UIKit +import Accessibility public struct AccessibilityMarker {