Mobile API Reference
MicroStrategy 2019
|
#import <MSIAlertView.h>
Instance Methods | |
(nullable instancetype) | - initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles: |
(NSInteger) | - addButtonWithTitle: |
(nullable NSString *) | - buttonTitleAtIndex: |
(void) | - show |
(void) | - dismissWithClickedButtonIndex:animated: |
(void) | - addAction: |
(UIAlertAction *preferredAction) | - NS_AVAILABLE_IOS |
Class Methods | |
(void) | + dismissAlertsAnimated:completion: |
(void) | + dismissTopAlertAnimated:completion: |
(nullable UIAlertController *) | + popTopAlertControl: |
(BOOL) | + isAlertOnTop |
(nullable MSIAlertView *) | + showAlert:animated: |
Properties | |
UIAlertController * | alertController |
id | delegate |
NSString * | title |
NSString * | message |
NSInteger | tag |
id _Nullable | retainSelf |
NSInteger | cancelButtonIndex |
BOOL | visible |
NSArray< UIAlertAction * > * | actions |
- (void) addAction: | (nonnull UIAlertAction *) | action |
Provided by category MSIAlertView(UIAlertControllerAPI).
- (NSInteger) addButtonWithTitle: | (nullable NSString *) | title |
- (nullable NSString *) buttonTitleAtIndex: | (NSInteger) | buttonIndex |
+ (void) dismissAlertsAnimated: | (BOOL) | animated | |
completion: | (void(^)(void)) | completion | |
Provided by category MSIAlertView(publicAPI).
+ (void) dismissTopAlertAnimated: | (BOOL) | animated | |
completion: | (void(^)(void)) | completion | |
Provided by category MSIAlertView(publicAPI).
- (void) dismissWithClickedButtonIndex: | (NSInteger) | buttonIndex | |
animated: | (BOOL) | animated | |
- (nullable instancetype) initWithTitle: | (nullable NSString *) | title | |
message: | (nullable NSString *) | message | |
delegate: | (nullable id/*< MSIAlertViewDelegate > */) | delegate | |
cancelButtonTitle: | (nullable NSString *) | cancelButtonTitle | |
otherButtonTitles: | (nullable NSString *) | otherButtonTitles | |
, | NS_REQUIRES_NIL_TERMINATION | ||
+ (BOOL) isAlertOnTop |
Provided by category MSIAlertView(publicAPI).
- (UIAlertAction* preferredAction) NS_AVAILABLE_IOS | (9_0) |
Provided by category MSIAlertView(UIAlertControllerAPI).
+ (nullable UIAlertController *) popTopAlertControl: | (BOOL) | animated |
Provided by category MSIAlertView(publicAPI).
- (void) show |
+ (nullable MSIAlertView *) showAlert: | (nullable UIAlertController *) | alertController | |
animated: | (BOOL) | animated | |
Provided by category MSIAlertView(publicAPI).
|
readnonatomicassign |
Provided by category MSIAlertView(UIAlertControllerAPI).
|
readwritenonatomicstrong |
|
readwritenonatomicassign |
|
readwritenonatomicweak |
|
readwritenonatomiccopy |
|
readwritenonatomicassign |
|
readwritenonatomicassign |
|
readwritenonatomiccopy |
|
readnonatomicassign |