Skip to content

2.0.0

Compare
Choose a tag to compare
@Friend-LGA Friend-LGA released this 02 Nov 17:45
· 65 commits to master since this release

Now LGAlertView combine UIAlertViewController, UIAlertView and UIActionSheet.

You can:

  • Select the style
    • LGAlertViewStyleAlert
    • LGAlertViewStyleActionSheet
  • Select window level:
    • alertView.windowLevel = LGAlertViewWindowLevelAboveStatusBar;
    • alertView.windowLevel = LGAlertViewWindowLevelBelowStatusBar;
  • Make any button disabled (important for AlertView with TextField)
    • - (void)setButtonAtIndex:(NSUInteger)index enabled:(BOOL)enabled;

New notifications was added (userInfo dictionary contains necessery info):

  • kLGActionSheetActionNotification
  • kLGActionSheetCancelNotification
  • kLGActionSheetDestructiveNotification