Search code examples
iphoneobjective-cxcode4

How to switch between views using the finger touch?


I made an application to navigate between views. Each view contains Different text. The navigation is done by button. But I want to replace that by the finger touch (slide right or left). I mean, becomes a movement between the views using touch by finger


Solution

  • Use the UISwipeGestureRecognizer. See this tutorial.