How to inspect elements to automate any hybrid app on iOS?

I have a hybrid application, developed in ionic.
I have to automate it in both android as well as ios.
This is what i found so far on internet:
In android app, we can inspect the elements using chrome debugging toolbar.

If the above give statement is true then how to inspect element to automate same ios application?
Can we use the same locators in ios app which we are using into android app scripts?
I have no knowledge about automating hybrid apps.
Please help me.

Thanks in advance.

In case of iOS you can use Safari to inspect the elements.
You can look into below link:

Yes,you can use same locator as ionic framework create same DOM structure in case of iOS app in case only if you are automating both iOS and android app in Webview context.