Search code examples
iosxcodeuitableviewxcode-storyboard

UITextfield text clipping issue in Storyboard - iOS


I am trying to design some reusable table cell for my tableview.

however when i adjust the text to make it center vertical of my UITextField, the text always clipped at the bottom.

Is this a storyboard display issue? Or some configuration i miss out?

Any advice?

Figure


Solution

  • It's not an issue with your designing. Run the project, it will show it perfectly.

    Designer:

    enter image description here

    When running:

    enter image description here