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 didFinishLa
What about a UIAlertView
? But I don't know if the app gets rejected or not. A few say yes, the other no. Doesn't know if things changed in the past.
Here are some links:
http://junecloud.com/journal/code/displaying-a-password-or-text-entry-prompt-on-the-iphone.html
UITextField in UIAlertView on iPhone - how to make it responsive?
http://iphone-dev-tips.alterplay.com/2009/12/username-and-password-uitextfields-in.html
http://discussions.apple.com/thread.jspa?threadID=1674641&start=15&tstart=0
http://icodeblog.com/2009/11/09/iphone-coding-tutorial-inserting-a-uitextfield-in-a-uialertview/
Most of the links do the same, they all use CGAffineTransformMakeTranslation
. Someone stated that this isn't needed for iOS 4. And sometimes there are problems. Didn't tried it out, because I don't want to get rejected ...