Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I've designed a view with the Interface Builder.
It contains UIImageView ,UIToolBar, etc... And and I've set all constraints with the IB in the .xib file.

Now, in this view, there is some animations (toolbars appearing etc). My animations work correctly, but when I add a subview to the main view, every element is reset to it's original place.

I'm not used with auto-layout and constraints, I think I'm missing something in my animation to "save" my subviews' positions.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.