I use this method to determine the hidden cell heights of 0. It works well, and also means that I can animate the inclusion of new cells by expanding the height of the cell (for example, adding a DatePicker Cell as a calendar application).
A few things that I had to observe in iOS 7.1 are that very compressed text still appears even when the cell height is 0, so I needed to remove the cell text in this case. In addition, I resized the separatorInset cell, which also appeared.
source share