ios - Why doesn't autolayout work with container view -
i using container view in application having strange issue regarding autoresizing of view. here snapshots of demo application building.
the below image shows doing normal view of normal iphone view size.
this view resizes correctly constraints added.
now here using container view has size of 150*280 , have used same constraints above.
here shows snapshot of portrait view no issues in navigator.
but when change orientation gives following warning.
how solve issue? thanks
i have noticed interface builder doesn't refresh elements placed via constracints correctly when changing orientation viewontroller.
if click on yellow warning icon , select "update frame", chances display properly. on actual device should display properly.
Comments
Post a Comment