I have an app where people could enter sensitive personal information. Is there a reasonable method to protect this from - even family access?
Asked
Active
Viewed 1,343 times
1 Answers
2
At the very first launch of your App, ask a user to create a password, save it somewhere, then on each launch after the first, bring up a modal view controller with a UITextField
and set the secureTextEntry
property to YES
(myPasswordTextField.secureTextEntry = YES;
) and do not dismiss the modal view until the password matches one that has been previously set.
Apple Modal View Controllers Example
UITextField
Docs
UITextInputTraits
Docs

chown
- 51,908
- 16
- 134
- 170
-
Thanks! That's straightforward and easy to implement. It's up to the user whether they want to invoke this and/or if they want to save/store their password. – ICL1901 Nov 02 '11 at 00:50