简体   繁体   English

如何使用UITableViewCellEditingStyleInsert在单元格上显示UIAccessoryView?

[英]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? 我怎样才能解决这个问题?

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当表格未处于编辑模式时,可以使用UITableViewCellEditingStyleInsert吗? - Can I use UITableViewCellEditingStyleInsert when the table is not in edit mode? 我可以同时使用UITableViewCellEditingStyleInsert和UITableViewCellEditingStyleDelete两个按钮吗? - Can I use both UITableViewCellEditingStyleInsert and UITableViewCellEditingStyleDelete two button together? 如何显示单元格中的图像? - How can I show images in cell? 单击 TableView 中的单元格时如何显示新的详细信息单元格? - How can show a new detail cell when i click on cell in TableView? 我可以单击tableview单元格显示选择器吗? - Can I click tableview cell show picker? (快速3)我们如何在ViewDidAppear()之前进入单元格? 我想在用户转到该控制器后显示该单元格 - (Swift 3) How can we go to cell before ViewDidAppear() ? I want to show the cell just after user goes to this controller 如何在目标c中解析给定的JSON数据并显示在表格单元格中 - How can I parse the given JSON data in objective c and show in table cell 问:如何更改 UITableView 中的单元格大小,以显示所有标签? - Q: How can I change the cell size in UITableView, to show all the labels? 单击按钮后如何显示表格视图单元格的值? - How can I show table view cell values after click button? 如何在选择单元格后立即显示UIAlert,并在显示新的UIView之后结束它? - How can I show a UIAlert straight after cell selection & end it after the new UIView is shown?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM