UILabel's preferredMaxLayoutWidth should default to its frame's width
| Originator: | amorya | ||
| Number: | rdar://15328364 | Date Originated: | 27-Oct-2013 05:02 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 7.0 |
| Classification: | Other Bug | Reproducible: | Not Applicable |
When using a multi-line UILabel with auto layout, a common situation is to have a label with a preset width and a variable height (that depends on the amount of content). I think UILabel should take it's frame's width for preferredMaxLayoutWidth unless told otherwise.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!