ios - Load custom view from .xib doesn't fit to iPhone 6+ -
i m using autolayout
in app.
when load custom uiview
.xib
from viewdidload
it's size (300,325) should be, on iphone6+
is't (394, 493).
but when load custom uiview
.xib
after (somewhere) size isn't change ( stay (300, 325) ) iphone6+
scale.
can u reason , solution?
thanks in advance!
you have use add new constraints specific uiview. it's automatically resize view.
otherwise if xib somewhere ... have set frame programmatically based on device.
Comments
Post a Comment