Inferis/ViewDeck — Issue #14: ViewDeck content is not updating during animation
Author: malcommac
Created: 2012-01-14 18:27:47+00:00
State: open

Hi guys,
Thank you for this wonderful class.
I've tried to use it in an app of mine and I've encountered a strange behavior.

My hierarchy is: UIWindow > Tabbar Controller > View Controllers (view controller 0 is IIViewDeckController with my view controller set as center).

I've tried to animate a sort of fullscreen mode changing tabbar frame with the code below.
Without IIViewDeckController as container of my view everything is ok:
http://dl.dropbox.com/u/103260/ok.mov

When I try with IIViewDeckController as view controllers #0 of my tabbar seems the size is not animated (or layout is not updated?). The size still remain it...until I try to move, then the new size is applied (or view content is refreshed).
That's a demo:
http://dl.dropbox.com/u/103260/no.mov

PS. Note the shadow below my view (at the middle of the screen).

Any idea? Seems IIViewDeckController cannot respond to layoutSubviews or something like this when I try to animate frame of it's parent (the tabbar controller).