Braze iOS SDK
Documentation for the Braze iOS SDK
 All Classes Functions Properties
Instance Methods | Properties | List of all members
ABKInAppMessageViewController Class Reference

Instance Methods

(instancetype) - initWithInAppMessage:
 
(void) - hideInAppMessage:
 
(void) - beforeMoveInAppMessageViewOffScreen
 
(void) - moveInAppMessageViewOffScreen
 
(void) - beforeMoveInAppMessageViewOnScreen
 
(void) - moveInAppMessageViewOnScreen
 
(BOOL) - applyImageToImageView:
 
(BOOL) - applyIconToLabelView:
 

Properties

ABKInAppMessageinAppMessage
 
IBOutlet UIImageView * iconImageView
 
IBOutlet UILabel * iconLabelView
 
IBOutlet UILabel * inAppMessageMessageLabel
 
BOOL isiPad
 

Method Documentation

- (void) hideInAppMessage: (BOOL)  animated

This method is used to decide whether the in-app message will be animated off the screen. If YES, the in-app message will animate off the screen. If NO, the in-app message will disappear immediately without animation.

For customization, please use a subclass or category to override this method.

- (instancetype) initWithInAppMessage: (ABKInAppMessage *)  inAppMessage

This method is used for passing the in-app message property to any custom view controller.

Property Documentation

- (IBOutlet UIImageView*) iconImageView
readwritenonatomicweak

The UIImageView for the in-app message image.

- (IBOutlet UILabel*) iconLabelView
readwritenonatomicweak

The UILabel for the in-app message icon.

- (ABKInAppMessage*) inAppMessage
readwriteatomicstrong

The in-app message that is being displayed in the view controller.

- (IBOutlet UILabel*) inAppMessageMessageLabel
readwritenonatomicweak

The UILabel for the in-app message message.

- (BOOL) isiPad
readwriteatomic

This is YES if the device being used is an iPad, and NO if the device is not an iPad.