Skip to content

iPhone UITableView with Auto Layout in the UITableViewCell to Create Dynamic Heights

License

Notifications You must be signed in to change notification settings

icanswiftabit/AutoLayoutForUITableViewCell

 
 

Repository files navigation

AutoLayoutForUITableViewCell

iPhone UITableView with Auto Layout in the UITableViewCell to Create Dynamic Heights

This code is from my video tutorial on how to setup Auto Layout for UITableViewCell objects in iOS 7.

There's some gotchas (lots) to get things working.

Video: https://www.youtube.com/watch?v=6KImie4ZMwk

The content is a few quotes from Steve Jobs and they can take up more or less vertical space. The type of font also changes the height for the cells. Note: To make it work in landscape, make sure you add constraints between the UIView and the UITableView if you embed the UITableView in your Storboard or .xib file.

iPhone Auto Layout in UITableViewCell in Landscape

iPhone Auto Layout in UITableViewCell in Portrait

About

iPhone UITableView with Auto Layout in the UITableViewCell to Create Dynamic Heights

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%