diff --git a/src/video/uikit/SDL_uikitevents.m b/src/video/uikit/SDL_uikitevents.m index 7083e204bba59..85d6dca5b5fd0 100644 --- a/src/video/uikit/SDL_uikitevents.m +++ b/src/video/uikit/SDL_uikitevents.m @@ -56,14 +56,9 @@ touch events to get processed (which is important to get certain /* Pump most event types. */ SInt32 result; do { - result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, seconds, TRUE); + result = CFRunLoopRunInMode(kCFRunLoopCommonModes, seconds, TRUE); } while (result == kCFRunLoopRunHandledSource); - /* Make sure UIScrollView objects scroll properly. */ - do { - result = CFRunLoopRunInMode((CFStringRef)UITrackingRunLoopMode, seconds, TRUE); - } while(result == kCFRunLoopRunHandledSource); - /* See the comment in the function definition. */ UIKit_GL_RestoreCurrentContext(); }