UIAutomation 的 dragInsideWithOptions 对 iOS7 模拟器没有影响 [英] UIAutomation's dragInsideWithOptions has no effect on iOS7 simulator

查看:23
本文介绍了UIAutomation 的 dragInsideWithOptions 对 iOS7 模拟器没有影响的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我使用 Xcode 5 和新的 iOS 7 模拟器来运行带有 Instruments 的 UIAutomation 测试,dragInsideWithOptionsdragFromToForDuration 函数根本不起作用.(同样的测试在 iOS 6.1 模拟器上运行良好.)这是一个已知的错误,还是这个功能的可用性发生了变化?有没有人可以在 iPad 上的 iOS 7 模拟器上使用这个功能?

Since I use Xcode 5 and the new iOS 7 simulator to run UIAutomation tests with Instruments, dragInsideWithOptions and dragFromToForDuration functions have simply no effect. (The same tests worked fine with iOS 6.1 simulator.) Is this a known bug, or the usability of this functions has changed? Is there anyone who could use this function with iOS 7 simulator on iPad?

推荐答案

同样的问题.除了 dragInsideWithOptions 不起作用之外,dragFromToForDuration 和 flickFromTo 在 Xcode 5 和 iOS 7 中也不起作用.我也一直在寻找并等待解决方案.在那之前,刷卡是不可能的.

Same issue here. In addition to dragInsideWithOptions not working, dragFromToForDuration and flickFromTo aren't working either in Xcode 5 with iOS 7. I have been searching and waiting for a solution as well. Until then, swiping won't be possible.

这篇关于UIAutomation 的 dragInsideWithOptions 对 iOS7 模拟器没有影响的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆