IPhone : Xcode interface builder aspect ratio auto layout all iphones

on Thursday, April 9, 2015

I read as much as I can of auto-layout tutorials but I cannot figured out how I can have my UIView (UIWebView for that specific example) resize to the screen layout of my phone. My background is an UIImageView, proportionally bigger on iphone5, and iphone6 and 6plus. I want to have my UIWebview to get the margin keeping the aspect ratio. I tried several options (I also enabled size classes option - I did not see any difference on the preview...)


Anyone as a clue on that ?


preview xcode


0 comments:

Post a Comment