You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my app, I have a couple of View Controllers each with a tableview as well as a HeaderView. the transition in the cells work well but the header views don't animate well. For example, both header views are visible during the transition before the initial header view animates out. This is not good.
The reason I use a View Controller with subviews (tableview and header view) instead of a tableview controller is for ad banner support. The ads are difficult to control with the tableview controller.
Any ideas on how I should handle the header view animations - I'd really like to use this library in my upcoming app. Thank you.
The text was updated successfully, but these errors were encountered:
Hi @robmontesinos
The first quick fix that comes to my mind is this:
Wrap your header in a UIView if you didn't already. In your visibleCells implementation you can add the header's UIView to the returned NSArray, alongside the table's cells (it should be the first element of the array if the view is on top). The transition object treats that array like a collection of UIViews, so the header should animate just fine.
I didn't test this method, but it should work. I'll add it to the sample project later.
In my app, I have a couple of View Controllers each with a tableview as well as a HeaderView. the transition in the cells work well but the header views don't animate well. For example, both header views are visible during the transition before the initial header view animates out. This is not good.
The reason I use a View Controller with subviews (tableview and header view) instead of a tableview controller is for ad banner support. The ads are difficult to control with the tableview controller.
Any ideas on how I should handle the header view animations - I'd really like to use this library in my upcoming app. Thank you.
The text was updated successfully, but these errors were encountered: