Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iphone54インチシミュレータでプロパティ[UIScreenmainScreen].scaleをテストするだけで、値は2.0ですが、これはバグですか?
[更新]トミーに感謝します。iphone5のバインドされたサイズについて間違った考えを持っていました。新しいバインドされたサイズは320x568なので、スケールはまだ2.0です。
網膜デバイスを使用している場合、スケールは2.0になります。