开发者

iPhone Application with a password

开发者 https://www.devze.com 2023-01-15 15:36 出处:网络
I want to start my iPhone application with a password开发者_JAVA百科. How I do that ? Regards Akram HamedWhat I would do is create an UIAlertView instance and add a UITextField as a subview. This is

I want to start my iPhone application with a password开发者_JAVA百科. How I do that ?

Regards Akram Hamed


What I would do is create an UIAlertView instance and add a UITextField as a subview. This is where the user will put in the password. When the alert view completes, get the password and see if it's the right one. Then continue running the app or quit.


It's pretty easy, just ask your user for a password when your app starts.

0

精彩评论

暂无评论...
验证码 换一张
取 消