Compact/Regular size class in XCode Beta 4 is the wrong size
| Originator: | leas5040 | ||
| Number: | rdar://17875821 | Date Originated: | 07/31/2014 |
| Status: | Closed | Resolved: | |
| Product: | Developer Tools | Product Version: | XCode Beta 4 |
| Classification: | Reproducible: |
Summary: In previous versions of Xcode, the size of an iPhone screen in Interface Builder was 320 x 640. In Beta 4, the screen size has been increased to 400 x 800. However, when you build for any of the iPhones and run a program in the simulator, the simulator is only 320 x 640. Steps to Reproduce: 1. Open XCode 6 Beta 4 and start a new project. 2. Navigate to the main.storyboard 3. Change the size class to Compact Regular. 4. Add a label with a width of 320 pts, and change the background color to stand out from the background of the view. 5. Align the label with the left side of the view. There should be 80pts of whitespace between the right edge of the label and the right side of the view controller. 6. Build and run the project for iPhone 4s/5/5s. 7. Compare view in Interface Builder with the view on the simulator. (See http://imgur.com/EpV4oOr) Expected Results: The view in the simulator should be the same as the view in Interface Builder. Actual Results: The view with the Compact/Regular size class is too large and doesn't match with the size of the simulator. Edit: Issue Closed for following reason: This was an intentional design decision. A user should not be focusing on designing for a particular device in the canvas, instead they should be looking at the Preview Assistant to see what it will look like on an actual device. The canvas is meant to be generic.
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!