---
title: Runtime Permissions
slug: gfQi-runtime-permissions
docTags: 
createdAt: 2025-05-09T12:18:30.321Z
---

If you intend on capturing geolocation for transactions, you will need to request location permission at runtime in addition to the permissions declared in [Configuration](docId\:H18_V1clRy140IMRfldm-). This can be achieved using the [CoreLocation API](https://developer.apple.com/documentation/corelocation), or by using the `LocationHelper` class from the ToroSDK.

```swift
let permissionGranted = await LocationHelper.requestLocationPermission()
```

::Image[]{src="https://api.archbee.com/api/optimize/363QD8Txp9MUeklUMkme0-zJ5bNYCFgPzDUlw305cMz-20250512-092110.png" size="46" width="1170" height="2532" position="center" caption="Location Permission Dialog" alt="iOS Location Permission Dialog" darkWidth="1170" darkHeight="2532" showCaption="true"}

