开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜