alexanderjarvis / PXAlertView

A drop-in replacement for UIAlertView that is more customisable and skinnable
MIT License
592 stars 95 forks source link

Requested Functionality #16

Closed cohen72 closed 10 years ago

cohen72 commented 10 years ago

1) Can you add a property to disable/enable tapping to dismiss feature? 2) Possible to make public the dismiss method? If I want to call it manually, for example. 3) Create a alert with no buttons, if lets say I want to just show a message to a user, and dismiss it after 3 seconds.

alexanderjarvis commented 10 years ago
  1. Yes
  2. Yes, but it may make more sense to add - (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)animated like UIAlertView
  3. This is more like a HUD than an alert that requires user input. Search for MBProgressHUD
cohen72 commented 10 years ago
  1. Thank you.
  2. Absolutely
  3. I actually ended up doing just exactly that!

Great Class by the way! Much better than all the other ones I've seen on cocoapods.

stevepet commented 10 years ago

Also, would it be possible to allow the position of the "Cancel" to be last and not first?

alexanderjarvis commented 10 years ago

@stevepet Yes it is possible, but I would not advise it as it goes against convention. Remember that you can change the titles for all buttons.

alexanderjarvis commented 10 years ago

@cohen72 Please try the latest version for requested features 1 & 2