IOS 7.1 beta5 viewing table height showing objects out of range

I have an application that has a list of UITableViewCells. By default, cells are set to a certain height (say, 100) to display only some basic information. When the user clicks on a cell, the height changes to 150 to show more actions that were not previously visible. This works without problems on iOS 7.0.0-7.0.5. I am testing an iPhone 5s running iOS 7.1 beta 5 and I see some kernel issues.

Here's what it looks like on iOS 7.0 ... versions, which is. When a cell is reset, the buttons located beyond the height of the cell are hidden, and when the cell expands to a height to display the buttons, they are visible.

Cell expanded: enter image description here Below is the cell when collapsing:

iOS 7.0.5 with the correct behavior

Here are the problems I see with iOS 7.1 beta. I am curious that this is simply a beta issue, or I will have to rethink how it is currently being encoded. As far as I can tell, this was from the first beta version of 7.1.

As you can see, the button that was previously hidden is now shown, even if the cell crashed. enter image description here

Is this a beta problem that anyone else has seen, or is this the expected behavior now? Thank you for your help!

+8
ios objective-c uitableview ios7
source share
1 answer

Try setting clipToBounds = YES in your cell, as this could be a drawing outside the borders.

cell.clipsToBounds =YES 

Also check that the cell height is actually collapsed.

+20
source share

All Articles