My cognizance on bits and bytes
Wednesday, February 22, 2017
UIButton Title gets cut at the top when using custom font
Like shown in the image, if we change the font in a UIButton, the title text gets cut. The fix is simple, just use:
backBtn?.contentVerticalAlignment = .fill
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment