Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须UITextField输入信用卡号码。
UITextField
当用户键入信用卡号时,前 12 位应显示为 X,后 4 位应显示原始值。
Eg:XXXX XXXX XXXX 4159
我怎样才能做到这一点 ?