首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >拖放葫芦-ios?

拖放葫芦-ios?
EN

Stack Overflow用户
提问于 2013-12-17 08:40:00
回答 1查看 737关注 0票数 1

如何在Calabash-ios中执行拖放操作?

我试过录音和回放。这对我不管用。

还有其他简单的方法吗?

EN

回答 1

Stack Overflow用户

发布于 2014-07-19 13:39:12

此示例将一个单元格重新排序到表视图中其他单元格的位置。

代码语言:javascript
复制
touch("UILabel marked:'Edit'") // Touchs table edit button
query_from = "UILabel marked:'Label_of_moving_cell' parent UITableViewCell child view child UITableViewCellReorderControl"
query_to = "UILabel marked:'Label_of_destination_cell' parent UITableViewCell child view child UITableViewCellReorderControl"
pan(query_from,query_to,{duration:1})
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20629455

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档