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

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

c# - ReportViewer control - axd url -

time series - R growth rate calculation week over week on daily timeseries data -