Post

Replies

Boosts

Views

Activity

Reply to UIScreen.main.bounds returning incorrect size
iPhone 6 / 6s / 7 / 8 Plus: Point resolution (UIScreen.main.bounds.size): 414x736 Theoretical pixel resolution based on @3x scale (UIScreen.main.nativeBounds.size): 1242x2208 === iPhone Plus has a physical screen 1080x1920, so: UIScreen.main.nativeScale is supposed to be ~"2.60869565", but the simulator still shows it as "3.0", maybe on a real device it's different. UIScreen.main.nativeBounds.size is also supposed to be 1080x1920, but on simulator it's not.
Jan ’22