I'm testing an iPad on iOS 4.3, which by default uses 4 finger (up/down) gestures to switch out of apps. This interferes with an on-screen piano keyboard I'm using, however, and want to remove this gesture within the frame of the keyboard. The keyboard does not use the gesture, but it regularly disrupts input (for example, when there is multi-touch input).
-
I would like to know as well. In the end, did you manage to do it ? thx Louis – Plot Jun 06 '11 at 14:46
3 Answers
One way to detect this is you will get 4 touchesCancelled at once in a single (NSSet *)touches
event if the person accidentally did the 4 finger swipe, and 5 touchesCancelled if the person did the 5 finger grab.
At that point you can display a dialog box in your app, telling the user how to turn off the multitasking gestures, once he switches back to the app.

- 64,917
- 62
- 258
- 363
No Dice
This is currently impossible to do programmatically. The most complete thread on it is here:
http://www.cocos2d-iphone.org/forum/topic/28704
and the answer, if it were true, would probably be here (it's not):
Other Possibilities
The other way to go would be at least to inform the user that they have the setting "wrong." Can you detect it? It seems you cannot:
iOS Multitasking gestures: Is there any way to check if the user has them turned on or not?

- 1
- 1

- 68,471
- 58
- 283
- 421
I believe you go to settings> general> Multitasking gestures and turn them off.

- 235
- 1
- 4
- 11
-
-
-
1He means that instead of having to disable multitasking gestures via settings, is it possible for the app to do it? Can we program the app to disable it? – obsoleteModel81 Apr 03 '11 at 02:02
-
1Thanks for explaining. I don't think you can as Apple has not shipped the gestures in iOS therefore it's a developer only setting and cannot be edited as it won't be usable to consumers. – Jordan Apr 03 '11 at 20:27
-
3Yeah.. the geniuses (uhem..uhem) at Apple didn't realize that developers might want their own 4 finger swipe behavior OR that little children often can only swipe with 4 fingers. – Zigglzworth Sep 15 '11 at 12:17
-
Anyone can change that setting BUT developers. At least, afaik. The old rule - you can't change peoples' settings. – Jonny Dec 27 '11 at 05:23