Created
September 28, 2022 13:00
-
-
Save bartekpacia/67c8c8cf5b878e77ed4ee66f0d2d8116 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func getNativeWidgets() throws { | |
for i in 0...10 { | |
let toggle = self.springboard.switches.element(boundBy: i) | |
let label = toggle.label as String | |
let accLabel = toggle.accessibilityLabel as String? | |
let ident = toggle.identifier | |
Logger.shared.i("index: \(i), label: \(label), accLabel: \(String(describing: accLabel)), ident: \(ident)") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment