简体   繁体   English

滑块不正确

[英]Slider Inaccurate

When I run my app on the simulator, the slider works great, accurate. 当我在模拟器上运行我的应用程序时,滑块可正常运行。

However, when the app runs on my phone, the slider is not accurate. 但是,当应用程序在手机上运行时,滑块不正确。 For example, my finger points to value 100.0 and at the moment I release my finger from the screen, the value jumps to 102.2 or 98.2 or 91.5. 例如,我的手指指向值100.0,并且当我从屏幕上松开手指时,该值跳到102.2或98.2或91.5。 It's never stops on the right value. 它永远不会停留在正确的价值上。

Can I fix it? 我可以解决吗? Does anyone faced this problem before? 有人遇到过这个问题吗?

I would appreciate any help! 我将不胜感激任何帮助!

The simulator allows precise control using a mouse cursor. 该模拟器允许使用鼠标光标进行精确控制。 It doesn't represent reality at all compared to an actual iOS device. 与实际的iOS设备相比,它根本不代表现实。

A real iOS device requires the use of your much fatter finger. 真正的iOS设备需要使用更胖的手指。 As you lift your finger you actually touch different parts of the screen. 抬起手指时,您实际上会触摸屏幕的不同部分。 This is typical and not much you can do about it. 这是典型的,您无能为力。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM