Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 UITableView 中,我有一组值,其中一些值比指定/绘制的宽度长。我想要一种方法来显示悬停在该单元格上的全部价值,就像我们在网页上一样。
请提供一种方法来实现这一点。
由于您确实无法将鼠标悬停在触摸手机上,因此我将使用UILongPressGestureRecognizer并让操作在屏幕上显示一个较小的子集视图,而不是带有单元格详细信息的表格视图。