简体   繁体   中英

hitest on a TTStyledText returns a empty frame even when user clicks on a valid link

I have styled text with multiple URLs. While all the URLs links get highlighted, only some pass the hittest when the user taps on them. As a result of this not all links are handled properly in three20 framework. Any ideas?

The style class name needs to end with : and the stylesheet selector with get the state when style is retrieved.

The easiest way would be to not to specify the class name at all. The label works well in this scenario. the problem occurs only when one specifies a custom class for the the label.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM