ios - Set container view height to nib loaded subview height -


i loading subviews different .xib files , adding them container view. problem can't figure out how make container view's height automatically adjust subview. when access subview.frame.size.height comes correct value. example, 44. when set height of containerview making rect containerview.frame = gcrectmake(0, 0, containerview.frame.size.width, 44) not work , keeps original height. have tried [containerview sizetofit:subview.frame.size] no avail.


Comments

Popular posts from this blog

php - URL redirection after form submitted without inherited params -

c# - ReportViewer control - axd url -

c# - must be a non-abstract type with a public parameterless constructor in redis -