How to find Locators for Mobile Web Application - iOS(safari browser)

I want to find locators for a mobile web application (iOS Safari). For android, we use remote debugging to find locators for mobile web applications. but for iOS how we can achieve this.

Same way. On iPhone in Safari settings enable debugger. On mac open Safari and debug.