Вопрос

I have enabled Autoresize Subviews in the superview via interface builder. Is there any way to programmatically disable the autoresizing of ONE subview view?

Это было полезно?

Решение

I assume you really are using autoresizing, not autolayout.

Set that subview's autoresizingMask to UIViewAutoresizingNone to make its parent ignore it during autoresizing.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top