Password protect iPhone app

Thomas picture Thomas · May 23, 2010 · Viewed 26.9k times · Source

I'm starting a new app, and I'd like to know how to require a password to open it.

I was considering a UIActionSheet in the application didFinishLaunchingWithOptions method of the app delegate implementation file, but am unsure how to go about doing so. I'm going to keep trying though.

Found this video, which seems pretty helpeful.

Now I've got my UIActionSheet to pop up displaying "Enter password," and am trying to figure how to add a keypad to the action sheet.