[Cpp]
Today, the customer reported a bug in iOS6. For example, there is a UITextField and
A common UITextField. Reproduction steps:
1. Click the normal UITextField input class capacity,
2. Click the password UITextField to enter the content,
3. Click the normal UITextField to regain the focus,
4. Click the backspace key on the keyboard,
Result: normal UITextField is cleared.
After research, we found that this bug was not found on iOS6 only, which is quite strange.
Then I took the iOS6 ipad for an experiment and found that the apple ID and password in the iCloud settings have the same
Bug. I personally think this should be a small system bug of iOS6. It may be Yes for iOS6 secureTextEntry.
This new UITextField feature is related:
If you click a UITextField in which the secureTextEntry with no focus or content is set to Yes, click
To clear the UITextField.
This new feature was designed to improve user experience, but caused a bug that is hard to fix.
To fix this problem, you can only remove the UITextField secureTextEntry as the Yes attribute, but the UITextField
To have a mask effect, you can only write one UITextField subclass and add a realValue attribute to record the truth.
The setText/text method is rewritten for replacement, but the mask effect of the password field is several seconds delayed.
(The input class size is almost one or two seconds before it becomes a dot) You need to implement it yourself, so it is difficult to fix it.
At present, there is no simple way to fix this problem. I hope to see a good solution or my thinking is wrong.
This is not a bug. Record the information, which is to be studied.