With ever more devices and new multitasking features supported by iOS, it’s important to create user interfaces that scale gracefully to different screen sizes. Size classes are the most effective tool for tackling this problem. In this post, we’ll look at what size classes are and how to use them.
In a previous post, I started going over some useful Auto Layout tricks that every iOS developer should know. In this post, I’ll continue with a few more ideas of greater complexity.
With iOS now available on more screen sizes, proficiency with Auto Layout has become a necessity. Unfortunately, I’ve observed many novice iOS developers whose first reaction to Auto Layout is to shy away. It can be intimidating, so in this post I’ll show a few common tricks that show the power and ease of use of Auto Layout.
Auto layout is awesome. It helps you create iOS interfaces that were not previously possible with springs and struts. However, becoming proficient at auto layout can require that you internalize some new concepts. In this post, I will attempt to cover those new ideas as concisely as I can.