In watchOS 3.0, WKInterfaceDevice.current().preferredContentSizeCategory is reporting the wrong info on a real device
| Originator: | dave | ||
| Number: | rdar://27863302 | Date Originated: | 2016/08/16 |
| Status: | Open | Resolved: | No |
| Product: | watchOS SDK | Product Version: | watchOS 3.0 Beta 6 (14S5321a) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: On a real 42mm device, WKInterfaceDevice.current().preferredContentSizeCategory is reporting the size category as Small, while on the simulator, it's reporting Large. Steps to Reproduce: Sample app is attached. Run it in Xcode 8, Beta 6 (8S201h), on a 42 mm Simulator device. You'll see the same screen as Simulator-42mm.png. That indicates the preferredContentSizeCategory is Large, as well as the correct screen size. Run it on a 42 mm physical device, and you'll see the same screen as RealDevice-42mm.jpg. This indicates the preferredContentSizeCategory is incorrectly reported as Small. And that we can see from the screen size that it really is the Large device. Attached Simulator-38mm.png for good measure. I don't have a real 38 mm device to test with however, so not sure if that has a similar issue. Expected Results: WKInterfaceDevice.current().preferredContentSizeCategory should return "UICTContentSizeCategoryL" on a 42 mm physical device. Actual Results: WKInterfaceDevice.current().preferredContentSizeCategory returns "UICTContentSizeCategoryS" on a 42 mm physical device. Attachments: https://dl.dropboxusercontent.com/u/10030638/Radar-27863302.zip
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!