Reputation: 1540
I share same storyboard for iPad and iPhone. I have contents inside a small view. I Wanna Scale up contents inside that view according the size of the view, which changes according to the device it's been installed.
Upvotes: 0
Views: 54
Reputation: 6342
try to set autoresizing masks like
[YourView setAutoresizingMask:UIViewAutoresizingFlexibleBottomMargin|UIViewAutoresizingFlexibleLeftMargin|UIViewAutoresizingFlexibleRightMargin|UIViewAutoresizingFlexibleTopMargin|UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];
Hope will help this
Upvotes: 1