简体   繁体   English

UISwitch在Xcode 9.3中的模拟器中损坏了?

[英]UISwitch broken in simulator in Xcode 9.3?

I just updated to Xcode 9.3 and can't activate UISwitch es anymore. 我刚刚更新到Xcode 9.3,无法再激活UISwitch It works on a device, but not in the simulator. 它可以在设备上运行,但不能在模拟器上运行。 Also, I tried it with a fresh project, still nothing. 另外,我尝试了一个新的项目,但还是没有。 Also I tried 'Erase all content and settings' in simulator, nothing. 我也尝试在模拟器中“擦除所有内容和设置”,什么也没有。

Anyone else experiencing this? 有人遇到这个吗?

Well that was one of the stranger bugs I've come across. 好吧,那是我遇到的陌生错误之一。 For some reason, it appears 'tap to click' on my trackpad wasn't activating the switch. 由于某种原因,触控板上似乎没有“点击”,但未激活该开关。 I tried 'press to click' and a USB mouse and both worked. 我尝试了“按一下”和USB鼠标,两者都起作用。 It only occurs with switches on the simulator. 它仅在模拟器上的开关上发生。 Everything else activates, buttons, cells, etc. 其他所有内容均会激活,按钮,单元格等。

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

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