Ken
Ken

Reputation: 550

Custom transition between view controllers including navigation bar

I'm following this guide to do a custom transition between two UIViewControllers that are within a navigation controller.

I'm trying to replicate the transition this 'Storehouse' app transition ,see the transition on the far left.

Notice that the transition includes the navigation bar. However, by default the transition only applies to the view UNDER the navigation bar and just crossfades the UINavigation bars between views.

I want a reference to the entire views including the navigation bar so that I can recreate this effect. I understand I'm probably seeing this behavior since they share a UINavigationController, and thus a navigation bar.

Any ideas?

Thanks!

Upvotes: 1

Views: 1329

Answers (1)

CodingMeSwiftly
CodingMeSwiftly

Reputation: 3261

See here

This is a much asked question here on SO btw. Maybe use the search functionality first next time? ;)

EDIT

Reviewing the transition you posted I must say it does not look like this is a UINavigationController setup. The solution I linked above works for a default setup. It looks like 'Storehouse' has put up a custom solution here. (I looks very neat though!).
You will probably have to code this by yourself, i.e. fake the navigation bar.

Upvotes: 2

Related Questions