Add Subview at single Index in Custom UITableViewCell?

You can do something like this: UITableViewCell *cell = tableView cellForRowAtIndexPath: indexPath; cell. ContentView addSubview:myImageView; //You will probably need to tweak a bit your UIImageView, so: myImageView. Frame=CGRectMake(value1,value2,value3,value4);//being value* floats Basically you are adding an UIImageView into your cell.contentView.

Depending on the case, its nice to create a custom UITableViewCell, if you think its simpler than adding UIViews to your normal (UITableViewCell*) cell. But in your case, you say: at only one row of a UITableViewCell Only one. So I ask you, is it worth to edit your custom cell just for one?

Well, its up to you, but I would probably just add the subView I want into the contentView.

Works! Thanks! :) – Nicolai Jul 29 at 1:46.

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