Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
There was an error while loading. Please reload this page.
PKAlertController seems to use the minimum of width/height of the screen and substract alertOffset from this to calculate the width of the alert.
On contrast, system alerts seem to use always 270 pixels as width for an alert.
PKAlertController should either replicate the system's behaviour and/or offer an API to configure the width of the alert (alertOffset is not in the header).