I have a problem with title vertical alignment of some UIButtons
that is over the central line of the button, this happened because I've used a custom font that have a wrong vertical alignment, I fixed this problem in iOS6 with titleEdgeInsets
and put some pixel of inset on the top value. When I start to update my app to iOS7 I've a inverse problem now the title is under the central line and if I remove the insets the title is on the centre of the button. is there a way for fix this problem both operation system {iOS6, iOS} using the same code?
问问题
463 次