Search code examples
ios7uitextfieldtext-cursor

Cursor visibility issue in ios7


Simply creating a UITextField in ios7 SDK but when I enter some input, text is shown UItextField but cursor isn't.

Any clue about what can be the problem?


Solution

  • Change the tintColor of the UITextField with a cursor

      [mobileTextField setTintColor:[UIColor blueColor]];
    

    if you are use the XIb please set the tin color of UITextField

    enter image description here

    Note :- This is working on IOS 7+