ios - Animating UIView with auto layout when the view is just created and about to appear -


i have uiview contains subviews contains subviews...(hierarchy of uiviews).

every uiview set auto layout. when press button, uiview created , drop top of screen.

the problem when use layoutifneeded in animation if animate @ same time newly created uiview (not yet display).

my question is, there way animation of uiview dropping subviews laid out in it?

i guess can creating uiview when uiviewcontroller displays , hide wondering there way.

cheers

if call layoutifneeded right after add view, while still outside view, should lay out it's views correctly. , in animation call again view animate final position.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -