I've been working on an iOS application and I came a cross with a bizarre behaviour.
This happens in iPhone 4 and 4S (I've not been able to test in iPhone 5 or 5S) but doesn't happen in the emulator or others apps in the same device. The interface is native (it's not a webapp).
Have anyone came across with this black spot?
EDIT: It happens in every TextField (secure or not)
I had the same issue, and just solved it for myself.
In my app, I'm presenting different modes of my app in different UIWindow
s, which involves creating different windows and changing which window is key and visible.
The text fields with the black eyeglass showing up were in a certain window, whose windowLevel = UIWindowLevelNormal
.
Changing my keyWindow
's windowLevel
did the trick for me:
keyWindow.windowLevel = UIWindowLevelNormal + 0.1;
Voila somehow it's working... I hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With