ios - Resize Uibutton with Auto Layout & size class -
i have developing app iphone & ipad. choose auto layout & size class bit complex understand. have tried add number pad app please refer screenshots.i added iphone 6, iphone 4s , ipad screenshot. want iphone 6(screen1) output. cant in iphone 4s(screen2).
in ipad(screen3) atleast need show buttons @ center of screen. can 1 on this.



i try set less or greater size buttons not working. please suggest me how make same on screens.
in order achieve same results different iphones , ipads must work , implement size classes chose. please refer apple's manual at: https://developer.apple.com/library/ios/recipes/xcode_help-ib_adaptive_sizes/chapters/aboutadaptivesizedesign.html
another great tutorial at: http://adoptioncurve.net/archives/2014/08/working-with-size-classes-in-interface-builder/
as mentioned in question- size classes might less intuitive. experience, reading apple's manual understand how accomplish need.
i hope helps.
Comments
Post a Comment