mattt/TTTAttributedLabel — Issue #37: Links don't take adjustsFontSizeToFitWidth into account
Author: adamjernst
Created: 2011-12-10 16:37:43+00:00
State: open

The label's implementation of `adjustsFontSizeToFitWidth` uses some hackery in `drawTextInRect:`, basically assigning a resized attributed string at the beginning of the method and then restoring the old string at the end.

Unfortunately this totally breaks for links in the string, since when a tap occurs the resized string (and its measurements) are long gone.