Alert buttons

Example of iOS alert not following the HIG. Traditionally in OS X, later iOS and macOS, the cancel button is on the left and the okay button is on the right.