UINavigationController with a background image that remains still and does not animate when the view controllers are pushed or popped

Is there a way to use UINavigationController with a background image that remains still and does not animate when the view controllers are pushed or popped?

Same effect can be achieved by having a paged UIScrollView and a UIImageView underneath it but I would like to use UINavigationController so methods like viewWillAppear, viewDidDisappear are called, and I can use UINavigationController's logic for popping and pushing view controllers.

Answers


Yes it is quite easy. Add an image to the window (or whatever is at the back of your view heirachy), then make the uiviewcontroller main views have transaparent backgrounds. This works on iOS 4 and above.


Need Your Help

The Optimal Urinal Strategy

javascript arrays algorithm sorting

Here is an interactive page describing the problem and an academic paper going over the mathematics.

SEO - hidden content for slideshow

ajax seo hidden

I'm trying to optimize our SEO for the following kind of page: