InteractivePush Class Reference
Inherits from | NSObject |
---|---|
Declared in | InteractivePush.h |
Overview
Object for hosting customized interactive push button pairs. Refer to - (BOOL)setInteractivePushBtnPairs:(NSArray *)arrayPairs;
.
pairTitle
Title for given pair, it’s the identifier of pairs, case sensitive. Note: customized pair identifier cannot same as pre-defined pairs, if overlap there is a warning message prints in console log when - (BOOL)setInteractivePushBtnPairs:(NSArray *)arrayPairs;
, and this customized pair is ignored.
@property (nonatomic, strong) NSString *pairTitle
Declared In
InteractivePush.h
b1Title
Title for button 1, whose result is 1. For customized button, the action is always foreground.
@property (nonatomic, strong) NSString *b1Title
Declared In
InteractivePush.h
b2Title
Title for button 2, whose result is -1. For customized button, the action is always foreground.
@property (nonatomic, strong) NSString *b2Title
Declared In
InteractivePush.h
– initWithPairTitle:withButton1:withButton2:
Creator with necessary parameters.
- (id)initWithPairTitle:(NSString *)pairTitle withButton1:(NSString *)b1Title withButton2:(NSString *)b2Title
Parameters
pairTitle |
Title for given pair, it’s the identifier of pairs. |
---|---|
b1Title |
Title for button 1, whose result is 1. |
b2Title |
Title for button 2, whose result is -1. |
Declared In
InteractivePush.h