How to change the size of blinking bar/line for specific UITextField?

前端 未结 3 1660
走了就别回头了
走了就别回头了 2021-01-14 02:10


i\'m working on a project(Swift4,Xcode 9.2) which has a feature to get text input and the blinking bar/line should be of big size (it should be S

3条回答
  •  花落未央
    2021-01-14 03:15

    We can't change the cursor height, but we can do some trick, select your textfield and change your textfield border style as UITextBorderStyleNone

    Check the below link which is already given answer

    there after increase the font size of your textfield whatever you want, then you get the output as

提交回复
热议问题