> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gleap.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# iOS SDK: Activation methods

> Configure how users activate feedback reporting with the Gleap iOS SDK. Follow the integration code examples.

Gleap offers different triggers (activation methods) to show the Gleap widget. You can configure the activation methods within our visual widget configurator.

The current available activation methods are:

* Shake <i>(triggered when shaking the device)</i>
* Screenshot <i>(triggered when a screenshot is taken)</i>

Need a more customized activation method? No worries! You can always [open the Gleap widget by code](/documentation/ios/widget-control) as well.

<img src="https://mintcdn.com/gleap-1d346ffa/MCCg3Pia7IrMFFzd/images/ActivationMethods.png?fit=max&auto=format&n=MCCg3Pia7IrMFFzd&q=85&s=9a75667c1a8cfe694099e87f5f7d29bb" alt="Activation methods in our visual widget configurator" width="3020" height="1618" data-path="images/ActivationMethods.png" />

### Set activation methods by code

Some situations require you to set the activation methods by code. This can be done with the following method.

<Tabs>
  <Tab title="Swift">
    ```swift theme={null}
    Gleap.setActivationMethods([SHAKE.rawValue, SCREENSHOT.rawValue])
    ```
  </Tab>

  <Tab title="Objective-C">
    ```objectivec theme={null}
    [Gleap setActivationMethods: @[@(SHAKE), @(SCREENSHOT)]];
    ```
  </Tab>
</Tabs>

<Info>
  Please note that this method is available since iOS SDK version 6.4.4
</Info>
