Declared in RMAction.h

RMActionStyle

RMActionStyle is used to determine the display style of RMAction and where it is positioned. There are 4 styles available: Done, cancel, additional and the default style, which is the done style.

Definition

typedef NS_ENUM(NSInteger, RMActionStyle ) {
   RMActionStyleDone,
   RMActionStyleCancel,
   RMActionStyleDestructive,
   RMActionStyleAdditional,
   RMActionStyleDefault = RMActionStyleDone,
};

Constants

RMActionStyleDone

The button is displayed with a regular font and positioned right below the content view.

RMAction.h.

RMActionStyleCancel

The button is displayed with a bold font and positioned below all done buttons (or the content view if there are no done buttons).

RMAction.h.

RMActionStyleDestructive

The button is displayed with a standard destructive and positioned right below the content view. Currently only supported when blur effects are disabled.

RMAction.h.

RMActionStyleAdditional

The button is displayed with a regular font and positioned above the content view.

RMAction.h.

RMActionStyleDefault

The button is displayed and positioned like a done button.

RMAction.h.

Declared In

RMAction.h