How to get xpath from ios app

Hi,

Like UIAutomator in android is there any tool available fro ios to genrate xpaths.

For few thing am using Appium inspector, But native iOS controls are not recognized.

Thanks

What do you mean by native iOS controls? Nothing is going to work out of scope specific app. It is limitations of UIAutomation. You can’t press “Home” button, means you can’t do anything else with other native stuff of device.

Appium inspector will give the xpaths for the elements you can access while running the app.
It will work as long as you are on the app you started with appium, once you get out it it (like tapping an option that takes to facebook app) the driver won´t work.