ios - Right view image not appearing -


I think my image should not be able to display next to my UITextField. I want to ask about some ideas why can not it show?

Here my code is: var errorImageView = UIImageView (Image: UIImage (named: (when I 'right' with 'left' (which means left Use), then change the image "monster")))) .rightViewMode = UITextFieldViewMode.Always? .rightView = errorImageView

Just looks just right on the left side of the text box, but is not working properly for some reason whether something is wrong with the frame or I need to change the inset is? Confused why it will work for the left, but not right.

Thanks a lot!

I was ending up to add a new UITFfiled and to restart - I'm sure something strange Things got caught and it appeared as if it was not working. There was nothing with its frame, or anything from it.

I actually just created a new project, in the form of a test, and after that this code works perfectly, so just a random gramline my code, maybe all right now, everyone Sorry to bother :)

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -