On Fri, 31 Dec 2010 21:52:29 +0800, Roland King <[email protected]> said: >I've read the UITableView / UITableViewCell documentation for reordering >several times now. As I understand it in order to have a reorder control shown >when the table goes into editing mode you have to have the following > >1) showsReorderControl of the UITableViewCell == YES >2) tableView:canMoveRowAtIndexPath: must return YES --- which is does by >default if you >3) implement tableView:moveRowAtIndexPath > >I've implemented 3) and not touched the default implementation of 2). It >doesn't matter however what I set showsReorderControl on my UITableViewCells >to, YES, or NO, the reorder control shows every time the table goes into >editing mode.
Don't touch (1). Use (2) to prevent the reorder control from appearing on individual rows. m. -- matt neuburg, phd = [email protected], <http://www.apeth.net/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
