gpt4 book ai didi

iphone - iOS 应用程序中的触摸序列密码

转载 作者:行者123 更新时间:2023-11-29 04:48:36 25 4
gpt4 key购买 nike

enter image description here

我正在考虑为我的应用程序创建一个密码序列,就像点保护中的那样。我是否必须学习整个open Gl es,或者可以使用(void)touchesMoved来完成,然后检查每个按钮是否在CGrectIntersects( )

我正在考虑尝试一下 CGrectInterscts,但在我看到点保护应用技术不知为何让用户从 1 移动到 2 后(请参阅屏幕截图)。

我认为这种复杂的机制是无法通过这种方式完成的。

enter image description here

最佳答案

如果您不想推出自己的实现,您可以使用一些已经存在的库,例如 ALUnlockPatternView看起来像这样:

enter image description here

或者Android Pattern Lock看起来像这样:

enter image description here

关于iphone - iOS 应用程序中的触摸序列密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9228111/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com