I have a quick question. I am trying to implement an application where the user can navigate between the screens via swipe gestures. So I am using gesture recognisers to push and pop views, the problem with that is that I don’t want the transition animation to apply to the entire screen as there are certain similar components and it looks weird.
I considered using a scroll view, however I don’t want to load all the controllers at the same time.
Any suggestions?
I’d suggest looking into
UIGestureRecognizerand setting theUIScrollViewpropertydelaysContentTouchestoNOto prevent the scroll view from consuming touch events before your gesture recognizer has the change to process the input, if you’d prefer that approach.Don’t forget that
UIGestureRecognizeroffers you quite a lot of information when the gesture fires.