ranesr / SwiftIcons

🎢Swift Library for Font Icons - ★ this library

Home Page:https://ranesr.github.io/SwiftIcons/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why icon position on top for UILabel with postfix text.?

SudheerArava opened this issue · comments

I added a label with icon and postfix text.
The icon is set to top position.
Please find my code

label.setIcon(prefixText: "", prefixTextColor: .clear, icon: .appsFont(.keyboard_arrow_down), iconColor:.blue, postfixText: text, postfixTextColor: .blue, size: 18, iconSize: 18)

screen shot 2018-08-31 at 10 47 59 am

I need that arrow center alignment to text.

Please suggest how to overcome this issue.

Thanks in advance.