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

Instance Methods

(void) - setupLayoutForGraphic
 
(void) - setupLayoutForTopImage
 
(void) - changeCloseButtonColor
 
(IBAction) - dismissInAppMessage:
 
(IBAction) - buttonClicked:
 
- Instance Methods inherited from ABKInAppMessageViewController
(instancetype) - initWithInAppMessage:
 
(void) - hideInAppMessage:
 
(void) - beforeMoveInAppMessageViewOffScreen
 
(void) - moveInAppMessageViewOffScreen
 
(void) - beforeMoveInAppMessageViewOnScreen
 
(void) - moveInAppMessageViewOnScreen
 
(BOOL) - applyImageToImageView:
 
(BOOL) - applyIconToLabelView:
 

Properties

IBOutlet UILabel * inAppMessageHeaderLabel
 
IBOutlet UIImageView * graphicImageView
 
IBOutlet NSLayoutConstraint * headerBodySpaceConstraint
 
IBOutlet ABKInAppMessageUIButtonleftInAppMessageButton
 
IBOutlet ABKInAppMessageUIButtonrightInAppMessageButton
 
IBOutlet UIScrollView * textsView
 
- Properties inherited from ABKInAppMessageViewController
ABKInAppMessageinAppMessage
 
IBOutlet UIImageView * iconImageView
 
IBOutlet UILabel * iconLabelView
 
IBOutlet UILabel * inAppMessageMessageLabel
 
BOOL isiPad
 

Method Documentation

- (IBAction) buttonClicked: (ABKInAppMessageUIButton *)  button

The touch up inside action for the in-app message buttons.

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

- (void) changeCloseButtonColor

This method is used for setting the color of the close button.

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

- (IBAction) dismissInAppMessage: (id)  sender

The touch up inside action for the close button. The default behavior is to close the in-app message.

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

- (void) setupLayoutForGraphic

This method is used for setting up the layout for ABKInAppMessageGraphic image style.

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

- (void) setupLayoutForTopImage

This method is used for setting up the layout for ABKInAppMessageTopImage image style.

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

Property Documentation

- (IBOutlet UIImageView*) graphicImageView
readwritenonatomicweak

The UIImageView for the in-app message image.

- (IBOutlet NSLayoutConstraint*) headerBodySpaceConstraint
readwritenonatomicassign

The NSLayoutConstraint that specifies the space between the header and rest of the in-app message.

- (IBOutlet UILabel*) inAppMessageHeaderLabel
readwritenonatomicweak

The UILabel for the in-app message header.

- (IBOutlet ABKInAppMessageUIButton*) leftInAppMessageButton
readwritenonatomicretain

The UIButton on the left of the in-app message.

- (IBOutlet ABKInAppMessageUIButton*) rightInAppMessageButton
readwritenonatomicretain

The UIButton on the right of the in-app message. When there is only one button in the in-app message, this right button is the one that is used.

- (IBOutlet UIScrollView*) textsView
readwritenonatomicassign

The UIScrollView for the message of the in-app message.