I am working on my application with uitableviews using custom cells.
I first rotate my table view in viewdidload as:
self.tableView.transform = CGAffineTransformMakeRotation(-M_PI_2);
to make it horizontal. It works fine.
Now I need the custom cell to rotate in cellForRowAtIndexPath as:
cell.transform = CGAffineTransformMakeRotation(M_PI_2);
The contents of the custom cell (image, two labels) disappears in some cases.
Can you explain why?
I tried a number of tricks, atlast found that there was some overlapping of cells problem, you have to set rows of tableview in a way so that they doesn’t overlap.