NMPopupObject Class Reference
| Inherits from | NMRichPushObject : NMPushObject : NSObject |
| Declared in | NMPopupObject.h NMPopupObject.m |
Overview
NMPopupObject class stores related data of a pop up notification. It is subclassed from NMRichPushObject
Tasks
-
bindedEventKey of the event which triggers the popup after it(event) is fired.
property -
– presentInWebView:This method can be used if you want to customize pop up notification view. Method takes a web view, and loads content of the popup notification to web view. Using this method, you can show your popups in views with any size.
Properties
bindedEvent
Key of the event which triggers the popup after it(event) is fired.
@property (nonatomic, strong) NSString *bindedEventDiscussion
Key of the event which triggers the popup after it(event) is fired.
Apart from custom events, You can also bind your pop up notifications to following events which are fired automatically by SDK:
- NMAppOpenEvent
Declared In
NMPopupObject.hInstance Methods
presentInWebView:
This method can be used if you want to customize pop up notification view. Method takes a web view, and loads content of the popup notification to web view. Using this method, you can show your popups in views with any size.
- (void)presentInWebView:(UIWebView *)webViewParameters
- webView
UIWebView object which will show popup.
Discussion
This method can be used if you want to customize pop up notification view. Method takes a web view, and loads content of the popup notification to web view. Using this method, you can show your popups in views with any size.
Declared In
NMPopupObject.h