wimagguc / ios-custom-alertview

Custom UIAlertView. Continue adding images and UIViews to dialogs in iOS7+
Other
1.66k stars 394 forks source link

Close alert view by default, regardless of assigned delegate instance #1

Closed masterrr closed 11 years ago

wimagguc commented 11 years ago

This introduces a limitation of reusability. (If you want to close the dialog from outside, simply use [alertView close];)

masterrr commented 11 years ago

Standard UIAlertView doesn't have a close method and closes automatically, only if

[alert dismissWithClickedButtonIndex:0 animated:YES];

My point is when user pushes a button, alert view should be closed anyway.

wimagguc commented 11 years ago

The standard UIAlertView doesn't support the addSubview method either ;)

masterrr commented 11 years ago

You got me! :)