开发者

iPhone Application with a password

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜