???????????????????????????????

var textField = 
UIATarget.localTarget().frontMostApp().mainWindow().textFields()[0];

?????????????????0????????????????????????????????????????磺????????????????????????????????
var textField = 
UIATarget.localTarget().frontMostApp().mainWindow().textFields()["User Text"];

??????????????????????????????á?????????Interface Builder????UIAElement??name?????

?????????????д?????????
myTextField.accessibilityEnabled = YES;
myTextField.accessibilityLabel = @"User Text";

?????????????????????accessibility????????UIAutomation????????????????????????????????????????????????????????????????д??????????????????????????????????????????????????UIAElement???????????????????????????з????

????buttons()?? images()?? scrollViews()??textFields()?? webViews()?? segmentedControls()?? sliders()?? staticTexts()?? switches()?? tabBar()??tableViews()?? textViews()?? toolbar()?? toolbars() ???……

???????????????′?????tabbar?????????tab??
var tabBar = UIATarget.localTarget().frontMostApp().tabBar();
var tabButton = tabBar.buttons()["First"];

????UIAElement????η?????????????????????????????????????????????????????UIAAplication??logElementTree????????????

UIATarget.localTarget().frontMostApp().logElementTree();

???????????????????????Accessibility ?????????????????????“Settings > General > Accessibility > Accessibility Inspector”??????????“??”????

????????????С?????Accessibility ???????????????????????Accessibility????????????????????Accessibility?????????????????????????????????????Accessibility???????????????????????????????

??????????????????UIAElement??name??value??????????accessibilityLabel??accessibilityValue?????NSObject????????????????????????????????д?????????