0

I have a table view with cells in my IOS app. The thing is that when the cell loads I need to layout some stuff on it that is relative to the size of other elements. The problem is that I can't get the size because there is no viewWillAppear or viewDidLoad methods, which have actual bounds(with autolayout and constraints applied). What is the best way to work with cell's geometry and sizes in IOS, can somebody tell me ?

Mnementh
  • 50,487
  • 48
  • 148
  • 202
Olexiy Burov
  • 1,007
  • 3
  • 11
  • 22

1 Answers1

0

Auto Layout and self-sizing cells (in iOS 8).

The layout system will determine the size of the "stuff" in the cells, and proper constraints will then determine the cell's height.

Community
  • 1
  • 1