Reputation: 2991
I have a UITableView
that implements the reorder controls. It all works great with the exception of one thing. When I drag the cell, all UIView
subviews are hidden. Is there a way to prevent that from happening? I tried to add a UIImage
for the background (semi-transparent) to appear when you enter edit mode, but that caused another issue where the image was resized to the left side of the handles.
Upvotes: 12
Views: 1508
Reputation:
Hi you can create your custom tableview with your own requirements. You can also use collection view as table view and enable rearrange. If you dont want to do like this you can use this great readymade RTGridView.
https://github.com/rickytan/RTGridView
Let i know if you need any more help on this.
Upvotes: 0
Reputation: 56
You could set the backgroundView
of UITableViewCell
and add the subviews to the backgroundView
: http://developer.apple.com/library/ios/documentation/uikit/reference/UITableViewCell_Class/Reference/Reference.html#//apple_ref/occ/instp/UITableViewCell/backgroundView
Upvotes: 1