hpique
hpique

Reputation: 120344

Typical UITableViewCell with autolayout

How do you layout the following UITableViewCell using Interface Builder and autolayout? Layout

Requirements

Examples

(not pixel-perfect)

detailTextLabel two lines textLabel two lines

Upvotes: 4

Views: 416

Answers (1)

Javier Soto
Javier Soto

Reputation: 4870

Not all these requirements together can be expressed using Auto Layout. If you want something that complex, you'll have to do manual layout implementing -layoutSubviews.

In this case, considering it's only 3 views it won't be a lot of code.

Upvotes: 0

Related Questions