更新时间:2023-01-28 18:27:19
所以,我想出来了。咄。我只需要访问可见的单元格并将其发送到其中一个。就像魅力一样。
So, I figured this out. Duh. I just needed to access the visible cells and send the tap to one of those. Works like a charm.
window.collectionViews()[0].visibleCells()[0].tap();
我希望这有助于其他人!
I hope this helps someone else!