Tapping the first button will increment i and trigger an alert with the text 'Alert #' + i.
i
'Alert #' + i
Tapping on the first button should have absolutely no effect, but in iOS6 it will re-trigger the alert.