Can someone tell how to find element for ios app?

can someone tell how to find element for ios app?

UIAButton name=“g” label=“g” value="" dom="" enabled=“true” valid=“true” visible=“false” hint="" path="/0/0/20" x=":60" y=“912” width=“60” height=“80”>

best solution either yourself and iOS dev will add ‘accessibility id’ to all needed elements.
xpath will work slow = slow down the test execution.

hi.
Can’t we use accept from id?
i have used below
//UIAApplication//UIAButton[@name=‘g’]

you could use predicates https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/ios_predicate.md They are way faster than xpath on ios. however as far as I understood they will not work with the new iOS Driver in the future.