ios - how to increase the width of two image view in a main view whose sizes are different and get variation in width when changing their orientation -
how increase width
of 2 image views
located inside main view landscape
orientation through uiinterface
nib file portrait orientation, sizes of image view different 1 another?
i need increase in width proportional default size.
explain setting constraint
in nib file.
example, image view1 in left corner of main view , image view2 in right corner of main view.both of same height width different.first in portrait setting in nib file.while running changing portrait view landscape either 1 of sizes gets increased.but requirement need expand width of both image view original width size in correct ratio.for how set constraint in nib file
the image requirement in portrait orientation,
and need in landscape orientation as,
here 1 more doubt cant make correct streching size in horizontal orientation orange , white (height mentioning here) colour image views.
use autosizing functionality.
more info try link:
http://www.raywenderlich.com/20881/beginning-auto-layout-part-1-of-2
Comments
Post a Comment