How to rearange the UItableViewCell's subviews on device rotation?

Reload the tableview. And cellForRowAtIndexPath:, check the orientation and add 5/4 depending on the orientation.

Up vote 3 down vote favorite share g+ share fb share tw.

I have an iPad app in which I have a tableView. The contents of the tableviewcell are five images in landscape mode and 4 images in portrait mode. I have the customCell and I am calling setNeedsLayout and overiding layoutSubviews method in there to re add the images with new frame.

But no luck. Any samples or suggestions would help. Thanks ios uitableview uitableviewcell link|improve this question asked May 5 '11 at 23:20Jacob1448 65% accept rate.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions