1
votes

I have a weather app. I let users add new locations which means there should be a way for the user to view the weather data for the new location. Right now I have 1 ViewController which handles a swipe gesture. If the user swipes right/left new data appears until they run out of locations. The problem is I have no transition. I want to add a transition animation to mimic a slide animation transition that there normally would be while moving from ViewController A to ViewController B.

I don't know how to go on and implement this.

2
Why not use a UIPageViewController? - HAS
Check out the link raywenderlich.com/32054/… . Not sure if it helps. - iCoder
@HAS Didn't know what UIPageViewController is, shall check it out. - nupac
Can you post some of your code? - If you are just using one viewController does this mean you are presenting your info in UIViews? - it's hard to help without seeing what you've tried. - Wez

2 Answers

1
votes

You really should use a UIPageViewController as @HAS told you before. Here is a good link to start with: iOS 7 UIPageViewController

Basically apple's weather app uses the exact same thing.

0
votes