Is there a way to drag the items of a UITableView up and down to change their order ?
Is there a way to drag the items of a UITableView up and down to change their order ?
See the example (the small arrows indicate the items are movable): http://cl.ly开发者_开发百科/972U
Or should I use another user interface widget ?
thanks
Yes, you can. This other stackoverflow question goes over the same thing. Basically, you create the UITableView just like you've been doing, but when you create a cell, set the showsReorderControl
value of the cell to TRUE and the reordering bars will appear.
精彩评论