简体   繁体   English

iPhone UIView元素类似于锁屏

[英]iPhone UIView element similar to the lock screen

Does anyone know if there is an open source project for an UIView element that acts in a similar way to the lock screen for the iPhone. 有谁知道UIView元素是否有一个开源项目,其行为类似于iPhone的锁定屏幕。

I am working on an app that has some sensitive data, and I want to add another layer of comfort for users, to be able to setup a 4 digit pin number on the app. 我正在开发一个包含一些敏感数据的应用程序,我想为用户增加另一层舒适感,以便能够在该应用程序上设置4位数字的密码。

I've seen apps like LoseIt and Weightbot that have similar functionality. 我见过像LoseIt和Weightbot这样的具有类似功能的应用程序。

There isn't any element for this in the UI Library from what I've been able to find, and was hoping some kind soul might have open sourced something similar to this. 根据我的发现,UI库中没有针对此的任何元素,并希望某种友善的人可能开源了与此类似的东西。

Thanks in advance!!! 提前致谢!!!

Thanks to Andiih above for the answer, because I found an open source version on GitHub based on the name of the one he found. 感谢上面的Andiih的回答,因为我在GitHub上找到了一个开源版本,基于他找到的那个版本的名称。

http://github.com/haroldthehungry/CPLockController http://github.com/haroldthehungry/CPLockController

它不是免费的组件,但请访问http://www.drobnik.com/touch/parts-store/ DTPinLockController-我认为这可以满足您的需求。

And another open source one (BSD license) is at: 另一个开放源代码(BSD许可证)位于:

https://github.com/Krishna/Lock-Screen https://github.com/Krishna/Lock-Screen

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

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