5,232
Loading...
Uploader Comments (pbudino)
see all
All Comments (26)
-
@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...
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 4 weeks ago
@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 popToRootViewControllerAnimated:YES];
If you use a modal popup, you must use a [MyController dismissModalViewControllerAnimated:YES]; MyController can be self
pbudino 3 weeks ago
Any body can tell me how can use swipe gesture between two views without take any storyboard...plz help me
vkinlove13 1 month ago
@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:newControll 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 1 month ago
@pbudino ops, sorry, the action is "[self.navigationController pushViewController:newControll animated:YES]" and not popToViewController!
The push "show" the view, the pop "un-show" the view
pbudino 1 month ago
@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.
pbudino 1 month ago