In the Repl I ran a query for "1" which is the current badge number on a tab.
This returned the below query, which you can see has the class _UIBadgeView.
However when I run a query for _UIBadgeView I get nothing.
I tried both app.Query("_UIBadgeView");
and app.Query(c => c.Class("_UIBadgeView"));
Any ideas how I can access the badge view?
{
Id => null,
Description => "<_UIBadgeView: 0x7e5cd380; frame = (49.5 2; 18 18); text = '1'; userInteractionEnabled = NO; layer = <CALayer: 0x7e5cceb0>>", Rect => {Width => 18, Height => 18, X => 145.5, Y => 621, CenterX => 154.5, CenterY => 630
},
Label => "1",
Text => "1",
Class => "_UIBadgeView",
Enabled => false
}