BTNavigationDropdownMenu
BTNavigationDropdownMenu copied to clipboard
take care of too long text for title

Did you find a way to handle this?
i trim text if over 15 length
func setMenuTitle(_ title: String) {
if title.count > 16 {
let temp = "\(String(title[String.Index(encodedOffset: 0)...String.Index(encodedOffset: 16)])).."
self.menuTitle.text = temp
}else {
self.menuTitle.text = title
}
self.setNeedsLayout()
}
I think I will provide the method to truncate long text (head/middle/tail). Thanks for raising the issue.
is this issue fixed?