Changes

Jump to: navigation, search

An Introduction to Auto Layout in iOS 8

30 bytes added, 04:21, 10 November 2016
Three Ways to Create Constraints
<htmlet>ios10</htmlet>
== Three Ways to Create Constraints ==
<htmlet>adsdaqbox_flow</htmlet>
There are three ways in which constraints in a user interface layout can be created:
• '''Writing API code''' – This approach involves directly writing code to create constraints using the standard programming API calls, the topic of this is covered in Implementing iOS Auto Layout Constraints in Code.
Wherever possible, Interface Builder is the recommended approach to creating constraints. When creating constraints in code, the visual format language is generally recommended over the API based approach.
== Constraints in more Detail ==

Navigation menu