Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

XCode 4.2 and iOS5 - Gesture Recognizer (swipe modal) with Storyboard (2 min)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,232
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 26, 2011

Simple (swipe) gestures projected by www.g8production.com. Storyboard and gestures (from the xib) work only with iOS 5 and Xcode 4.2 or higher.

Search "Navigation Controller and Swipe with Storyboard without write code - Xcode 4.2 & iOS5" for a best navigation.

Please use 720p video for best resolution.
Good Luck.

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (pbudino)

  • Very good video! but how to swipe back then? so without the buttons on the top?

    Only with the swipe tool.

    I see that I can set the swipes to left and right but when i put more swipe recogn. on the view bar and set it to swipe left the building get OK but it didn't swipe anymore.

  • @chrisvanlaar When you touch the back button, the uiviewcontroller is poped (really removed) from the navigation stack. So, you can create a custom button and pop the controller by code with [MyController popViewControllerAnimated:YES]­­;

    or you can pop to the first uiviewcontroller using [MyController popToRootViewControllerAnimate­­d:YES];

    If you use a modal popup, you must use a [MyController dismissModalViewControllerAnim­ated:YES]; MyController can be self

  • Any body can tell me how can use swipe gesture between two views without take any storyboard...plz help me

  • @vkinlove13 Sure, you must use a uinavigationcontroller and a gesturerecognizer. Simply attach a swipe gesture in the view and on swipe-action write "[self.navigationController popToViewController:newControl­l animated:YES]"

    In the my website g8production. com there is a simple imageviewer with 2 swipe gestures in the same view. Download the "EASY IMAGE VIEWER WITH LEFT-RIGHT SWIPE GESTURES" project and try to swipe.

  • @pbudino ops, sorry, the action is "[self.navigationController pushViewController:newControl­­l animated:YES]" and not popToViewController!

    The push "show" the view, the pop "un-show" the view

  • @vkinlove13 After create a new project with a uinavigation controller and 2 views, after set the swipe gesture like in my project and finally change the swipe-action like explained before. Trust me, it's simple.

see all

All Comments (26)

Sign In or Sign Up now to post a comment!
  • @pbudino Thanks a lot for telling me.

  • @vkinlove13 or... find "Navigation Controller and Swipe with Storyboard without write code - Xcode 4.2 & iOS5" on youtube.

  • @pbudino - ok thanks...one more question plz, all the video shows this with storyboard is this possible without take any story board. mean to say how can we do that between two views ????

  • @vkinlove13 please use a 480p or 720p video for best resolution.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more