SDL: Initialize and shutdown clipboard listener on iOS

From d5e6116f8e0775d94616e67e955705f281407eda Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 5 Jul 2024 17:16:07 -0700
Subject: [PATCH] Initialize and shutdown clipboard listener on iOS

---
 src/video/uikit/SDL_uikitvideo.m | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/video/uikit/SDL_uikitvideo.m b/src/video/uikit/SDL_uikitvideo.m
index 916afb1d5d4b4..5b2af6f09a281 100644
--- a/src/video/uikit/SDL_uikitvideo.m
+++ b/src/video/uikit/SDL_uikitvideo.m
@@ -157,11 +157,15 @@ int UIKit_VideoInit(SDL_VideoDevice *_this)
     SDL_InitGCKeyboard();
     SDL_InitGCMouse();
 
+    UIKit_InitClipboard(_this);
+
     return 0;
 }
 
 void UIKit_VideoQuit(SDL_VideoDevice *_this)
 {
+    UIKit_QuitClipboard(_this);
+
     SDL_QuitGCKeyboard();
     SDL_QuitGCMouse();