iOS: Touchevent slows down whole app

Hallo,
I have a small problem.
When I start my app on an iOS device everything is very smooth and fast.
When I touch the screen (my app process touch finger events) the fps
slows down dramaticly (from fast to unplayable).
Same code works well on Android.

Here some snippets:
SDL_TouchID device = SDL_GetTouchDevice(0);

for (int i = 0; i < SDL_GetNumTouchFingers(device); i++)
{
SDL_Finger *finger = SDL_GetTouchFinger(device, i);

 if (finger == NULL)
     continue;

     posX = finger->x;
     posY = finger->y;
 }

}

Best regards,
Daniel

I tried your code, which modified to try fix an issue I’m having. It seems to work fine, with no slow down’s, but my issue is still the same.

I don’t know if it’s me, but maybe there is no such thing as FULL DUAL touch support.

I tried this, above the SDL_FINGER DOWN EVENT and inside it, with no luck whats so ever.

[code SDL_TouchID device = SDL_GetTouchDevice(0);

	for (int i = 0; i < SDL_GetNumTouchFingers(device); i++)
	{
		//SDL *FINGER
		arnold[i] = SDL_GetTouchFinger(device, i);

		if (arnold[i] != NULL)
		{
			if (i == 0)
			{
				bf1 = true;
				iMouseX = Display0->GetScreenWidth() * arnold[i]->x;
				iMouseY = Display0->GetScreenHeight() * arnold[i]->y;
			}

			if (i == 1)
			{
				bf2 = true;
				iMouseX2 = Display0->GetScreenWidth() * arnold[i]->x;
				iMouseY2 = Display0->GetScreenHeight() * arnold[i]->y;
			}

		}
	}][/code]

touch 2 does not register on 1 / 3 of the left side of the screen.
touch 1 register’s everywhere.