Skip to content

Comments

complete#5

Open
deebost wants to merge 2 commits intojeffreycamealy:masterfrom
deebost:master
Open

complete#5
deebost wants to merge 2 commits intojeffreycamealy:masterfrom
deebost:master

Conversation

@deebost
Copy link

@deebost deebost commented Nov 12, 2013

finally made a custom uinavigationcontroller transition to look pretty! like example!
seemed like a very simple thing to do! till i saw how horrible the push notification animation looked!

i created a property of UIImageView in the app delegate.h to pass to all other view controllers!
found out this works only if u set the current views background color to [UIColor clearColor];

for the cross dissolve part of the equation for each ViewController i added a - (void) viewDidAppear method to transition the old background color to the new background color, no logic is really needed sense we only have 2 colors, and when the app first loads the color will always be blue, so it will transition to blue on the first load but user will not notice. Other wise when popping back to the firstViewController the animation will cross dissolve from green to blue

the hardest part was creating a custom transition animation for UINavigationController.
I tried many different ways, found out lots of cools way to flip to other view controllers and other things but exactly make it look like i wanted. finally found a good stack over flow post that made it simple for me to understand how to create a custom transition animation (this was the post, second answer) http://stackoverflow.com/questions/2215672/how-to-change-the-push-and-pop-animations-in-a-navigation-based-app
customized it for both the push n pop animation! looks great now!

finally made a custom uinavigationcontroller transition to look pretty! like example!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant