Skip to main content

Constraints and Stack Views

  • Chapter
  • First Online:
Beginning iPhone Development with Swift 5
  • 1915 Accesses

Abstract

Since the iPhone and iPad come in different screen sizes, every iOS app needs to adapt to these different screen sizes depending on the type of iOS device it’s running on. To define the position and spacing of different user interface objects, you can use constraints.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Wallace Wang

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Wang, W. (2019). Constraints and Stack Views. In: Beginning iPhone Development with Swift 5. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4865-2_13

Download citation

Publish with us

Policies and ethics