---
name: "SDL_SetiOSEventPump"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_SetiOSEventPump"
---

# SDL\_SetiOSEventPump(3)

Use this function to enable or disable the SDL event pump on Apple iOS.

## NAME

SDL\_SetiOSEventPump - Use this function to enable or disable the SDL event pump on Apple iOS.

## HEADER FILE

Defined in SDL3/SDL\_system.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_SetiOSEventPump(bool enabled);**

## DESCRIPTION

This function is only available on Apple iOS.

## FUNCTION PARAMETERS

- *enabled*

  true to enable the event pump, false to disable it.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_SetiOSAnimationCallback**(3)](/SDL_SetiOSAnimationCallback/3.md)
