How to show text in UILabel as secured in iphone
2 answers
I'm not sure if I really understand your question, but assuming you want to display asterisks instead of text in the label, just enter the length of the string you normally show and replace the characters with asterisks:
NSString *myPickerValue = @"MyPickerValue";
self.myLabel.text = [@"" stringByPaddingToLength: [myPickerValue length] withString: @"*" startingAtIndex:0];
+3
source to share