Re: Help with iOS 15-style UIButton?


Alex Zavatone
 



On Jul 18, 2021, at 4:52 PM, Rick Aurbach via groups.io <rlaurb@...> wrote:

  • I tried setting .numberOfLines to 1. In fact, I do so whenever changing title content. The button sets the value back to 0 and wraps the text.
My god, that sucks. I can’t believe this wasn’t tested.  We've actually been building custom UI classes for the past month and am familiar with the pain.  

Do you have to use the new API?

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.