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.
Can you set up an observer to watch and see if it’s changed and then change it back? Seems like a real hack, but it’s a thought.

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