I tried to ask this in another thread but, apperently, my scenario was covering the real question. So I try again here, addressing this specific issue.
I noticed that, normally, popup dialogs in iOS are not appreciated when it comes to ask the user input. Usually one prefers to dedicate a complete new view in order to achieve the purpose.
I'm concerned about that though, because in the iOS 5.0 SDK Apple extended the UIAlertView in order to support further styles, in particular:
- UIAlertViewStylePlainTextInput
- UIAlertViewStyleSecureTextInput
- UIAlertViewStyleLoginAndPasswordInput
I guess that, if Apple itself provided this APIs, there have to be certain circumstances where the popup input dialog is worth being used.
Then: does anyone know when it's better to use a popup (UIAlertView) to ask the user input and when it's instead preferrable to have a modal view or to dynamically modify the current view?