IOS 6 Secure password UITextField causes unsigned UITextField clearing Bug

Source: Internet
Author: User

[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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.