How can go back to previous screen in IOS?

Hi All,

I want to go back on previous screen or click on the below back button on my IOS app

For android it is working fine. I am using
await driver.back();
but for IOS it is not working.

Can someone please suggest what should I do to solve this problem?

Aleksei do you have any thoughts on this?

iOS does not have native back button as you use in ‘driver.back()’.
You can only tap UI back button with app. Ask developers to put some id for these buttons in app. Using loooooong path as you showed on screenshot is slow and unstable.