问题标签 [uicontextualaction]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
uitableview - UITableView -> trailingSwipeActionsConfigurationForRowAt -> UIContextualAction.image not centered correctly for rowHeights < 50
I have a UITableView
that has a different row height for the last column.
Each row has UIContextualAction
to "mark as favourite" and "delete", represented by image (icons). It seams that when the row height is smaller then 50, the UIContextualAction.image placement is corrupted and no longer centered correctly:
ios - Swift UISwipeActionsConfiguration 和 segue
我添加了leadingSwipeAction “编辑”按钮。但是,当我在模拟器中按下“编辑”按钮时,应用程序崩溃并在 **prepare(for:sender:)** 方法中显示“线程 1:信号 SIGBART”。
我看到了类似的问题,但他们的解决方案没有帮助。我是新手,不明白问题出在哪里。
}