Misplaced View warning cannot be cleared when constraints have fractional constants
| Originator: | migrantp | ||
| Number: | rdar://15761884 | Date Originated: | 07-Jan-2014 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 5.0.2 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: On Retina screens it can be desirable to have a view with fractional size (for hairlines etc). You can achieve this in Interface Builder by setting a constraint on the view with a fractional constant. However, IB does not support fractional values for frames, so you get a Misplaced View warning that you cannot fix. Steps to Reproduce: 1. Add a constraint to a view with a fractional constant (e.g. 0.5) Expected Results: The frame of the view in IB should be allowed to be the same as the constraint. Actual Results: There is a warning about the misplaced view that the Fix function does not fix, because IB does not support fractional values for frames. Version: Xcode version 5.0.2
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!