I am working on a project where I am implementing a swipe menu option for some additional actions. Everything works fine when the height of rows is relatively small and the user is in the middle of the row. But when the height increases, specially when it covers the whole page and the user has scrolled half way, it kind of breaks the design. Here are the screenshots for both actions.[The image at the top shows the menu when the user is in the middle of the row. The second image show when he has scrolled half way][2]My questions is, is there a way to move the actions button down with the page when the user scrolls so they are always visible?NOTE: I am using the mgswipeTableCell lib. 解决方案 As you can see in the official project there are 3 available demo, each demo have a custom UITableViewCell cell based on MGSwipeTableCell methods. It can't be simple if you don't have convenience with UITableViewCell subclassing. You can try to following MGSwipeTableCell project instructions.What do you want is to make cell labels with more than 2 or 3 lines and with the buttons vertical center aligned.The demo who is near your needs is Mail Demo 这篇关于长行的滑动操作按钮位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-27 03:00
查看更多