iOS - Location permission modal alert

Hi Thunks!

Who can send me the blocks for an location permission modal alert.
Below is a reply from iTunes Connect. Informing me that my App violates some rules.

Guideline 5.1.5 - Legal
We understand that your app uses the location service to display available property listings for sale near the user’s Location. However, since your app accesses and collects user’s location data, your app must provide the purpose of its use and obtain the user’s consent prior to accessing this data on the location permission modal alert.

To resolve this issue, it would be appropriate to clarify the reason why the app is requesting the user’s location in the location permission modal alert.

Same problem. How can did you figure out?