AlertPassword is a project mainly written in Objective-C, it's free.
Alert view with label and password
iPad uialertview presents the user a password with a label