UIImageView intrinsic size warning
| Originator: | jacopo | ||
| Number: | rdar://14301500 | Date Originated: | 28-Jun-2013 12:30 PM |
| Status: | Closed | Resolved: | YES |
| Product: | Developer Tools | Product Version: | 5.0 |
| Classification: | Other Bug | Reproducible: | Always |
In the Xcode 5 beta 2 after the placement of the constraint the UIImageView can't state to the compiler that it's intrinsic size is the size of the image loaded in the storyboard, so at building time spit out some warning to missing size and misplacement of all the views depending on the size of the UIImageView. This seems a bug because if I specify that the UIImageView must sizeToFit, and I specify an image in the storyboard the compiler can derivate the intrinsic size of the imageView without prompt the user to insert it. And if this is not possible maybe it is possible to insert an intrinsic size popup on the view to specify directly without open the appropriate bar in the utilities bar? Or an automatic fix like the one for the missing semicolon or misspelling of a variable. Thank you and go on for the amazing work for Xcode 5!
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!