What dimensions do widgets have for 12 Pro Max(428x926pt)

Hi there,

Apple didn't update Design Guidelines with widget sizes for iPhone 12 Pro Max(428 x 926pt)
https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/widgets

Who can tell correct point sizes as interpolation gives inaccurate(not integer values)

Best regards,
I met the same problem, so I suggest it is correct dimensions:
Code Block swift
func getSmallWidgetSize() -> CGSize {
    let screenBounds = UIScreen.main.bounds
    let height = screenBounds.height
    switch height {
    case 926:
        return CGSize(width: 170, height: 170)
    case 896:
        return CGSize(width: 169, height: 169)
    case 812:
        return CGSize(width: 155, height: 155)
    case 736:
        return CGSize(width: 159, height: 159)
    case 667:
        return CGSize(width: 148, height: 148)
    case 568:
        return CGSize(width: 141, height: 141)
    default:
        return CGSize(width: 155, height: 155)
    }
}
func getMediumWidgetSize() -> CGSize {
    let screenBounds = UIScreen.main.bounds.size
    let height = screenBounds.height
    switch height {
    case 926:
        return CGSize(width: 362, height: 170)
    case 896:
        return CGSize(width: 360, height: 169)
    case 812:
        return CGSize(width: 329, height: 155)
    case 736:
        return CGSize(width: 348, height: 159)
    case 667:
        return CGSize(width: 322, height: 148)
    case 568:
        return CGSize(width: 291, height: 141)
    default:
        return CGSize(width: 329, height: 155)
    }
}
func getLargeWidgetSize() -> CGSize {
    let screenBounds = UIScreen.main.bounds
    let height = screenBounds.height
    switch height {
    case 926:
        return CGSize(width: 362, height: 382)
    case 896:
        return CGSize(width: 360, height: 376)
    case 812:
        return CGSize(width: 329, height: 345)
    case 736:
        return CGSize(width: 348, height: 357)
    case 667:
        return CGSize(width: 322, height: 324)
    case 568:
        return CGSize(width: 291, height: 299)
    default:
        return CGSize(width: 329, height: 376)
    }


How did you find them? If scaling proportionally - it doesn't seem right.
Proportionally should be
Large - 372x389pt
Medium - 372x175pt
Small - 175x175pt
What dimensions do widgets have for 12 Pro Max(428x926pt)
 
 
Q