Skip to main content

Stack Views and the Focus Engine

  • Chapter
  • 596 Accesses

Abstract

In iOS 9 Apple introduced Stack Views, and these are also available in tvOS. The UIStackView class provides an interface for laying out collections of views in either a column or a row. A Stack View lets you utilize Auto Layout, creating user interfaces that can dynamically adapt to any changes in the available space within your views. In iOS 9 Stack Views automatically adjust for autorotation and screen size.

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

Buying options

eBook
USD   19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Gary Bennett, Stefan Kaczmarek and Brad Lees

About this chapter

Cite this chapter

Bennett, G., Kaczmarek, S., Lees, B. (2015). Stack Views and the Focus Engine. In: Developing for Apple TV using tvOS and Swift. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1715-3_3

Download citation

Publish with us

Policies and ethics