objective c - dynamically resizing view height -


i've seen many questions regarding topic, yet cannot find 1 satisfactory answer. i've created sample view using interface builder, attached below: layout sample

now text content dynamic, , when have list of such views 1 underneath other, strange state in views overlap each other. looking simple way view resize itself, or @ least expend size of subviews.

all explanations find have single label, in manual calculations of size. there no simple mechanism provided coca toch this?

thank you

you have subclass superview containing other items. override -layoutsubviews method , in method calculate sizes , reposition subviews.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -