uitableview - iOS 7.1 insertRowsAtIndexPaths animation doesn't work -


i'm testing app on ios 7.1 , when following line executed, cells disappear short period (about second) , new cell old ones appear without animation.

[self.tableview insertrowsatindexpaths:@[indexpath] withrowanimation:uitableviewrowanimationbottom]; 

same thing happens when remove cell animation.

this problem doesn't exist on ios7. have tested on both on simulator , device way. problem?

edit: figured out problem, below can find answer.

well problem caused setting table cell's background: [uicolor clearcolor]; figured out while debugging. since tableview's background solid color, assigned color background of cell view, , animation works , cells don't disappear anymore. however, have no idea why happens in ios 7.1, , not in ios 7.0.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -