Ben Ritter
Ben Ritter

Reputation: 119

iPad Pro reporting wrong screen scale

The call to get the device screen scale:

[[UIScreen mainScreen] scale]

does not return the proper value for the iPad Pro. The device is reporting 2, when it should be higher.

Other answers insist it's an issue of whether we are using a Launch Screen. Our project uses both a Launch Images asset catalog and a storyboard Launch Screen. Has anyone else run into this problem?

Upvotes: 0

Views: 530

Answers (1)

Mikhail Vasilev
Mikhail Vasilev

Reputation: 1167

According to HIG iPad Pro has @2x screen scale so 2 is correct value actually.

Upvotes: 1

Related Questions