Hi
I have implemented setting bundle in my project and added switch option in that.
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<key>Title</key>
<string>SwitchOne</string>
<key>Key</key>
<string>switch_one</string>
<key>DefaultValue</key>
<false/>
</dict>
In earlier versions like iOS 12, Accessibility Inspector used to show traits as Static Text & Button for that given Switch option in App setting. Means It used to treat text and Switch as two elements separately. But in iOS 13+ the whole row gets selected and it just show only one trait element that is Button.
So it is causing issue if you want to automate it because automations scripts are not able to identify switch as separate element.
I have implemented setting bundle in my project and added switch option in that.
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<key>Title</key>
<string>SwitchOne</string>
<key>Key</key>
<string>switch_one</string>
<key>DefaultValue</key>
<false/>
</dict>
In earlier versions like iOS 12, Accessibility Inspector used to show traits as Static Text & Button for that given Switch option in App setting. Means It used to treat text and Switch as two elements separately. But in iOS 13+ the whole row gets selected and it just show only one trait element that is Button.
So it is causing issue if you want to automate it because automations scripts are not able to identify switch as separate element.