Using xpath for iOS app a good practise?

Hi,

I am new to iOS automation using appium. Could someone let me know, if using xpath a good practise on iOS app?

Thanks,
Gowtham

XPATHs works but it is better to avoid them as much as possible, for that you need to work very closely with the development team to identify elements by using different strategies other than xpaths