[英]How can I show UIAccessoryView on a cell with UITableViewCellEditingStyleInsert?
I want to use an accessorydisclosureindicator to inform the user to tap on the cell in order to change the time. 我想使用一个附件披露指示器来通知用户点击该单元格以更改时间。
I did set the accessoryType to UITableViewCellAccessoryDisclosureIndicator
in the cellForRowAtIndexPath
delegate method but the disclosure indicator is not visible as you can see on the screenshot below. 我确实在
cellForRowAtIndexPath
委托方法中将附件类型设置为UITableViewCellAccessoryDisclosureIndicator
,但是如下面的屏幕截图所示,公开指示器不可见。
How can I fix this? 我怎样才能解决这个问题?
I'm guessing that you already found this but I think that you want the editingAccessoryType. 我猜您已经找到了这个,但是我想您想要editAccessoryType。
http://developer.apple.com/library/ios/documentation/uikit/reference/UITableViewCell_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006938-CH3-SW61 http://developer.apple.com/library/ios/documentation/uikit/reference/UITableViewCell_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006938-CH3-SW61
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.