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
Other Methods
-
bindedEventKey of the event which triggers the popup after it(event) is fired.
property
Other Methods
-
– presentInWebView:This method can be used if you want to show rich push content in a webview that you create. 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 way you want.
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 show rich push content in a webview that you create. 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 way you want.
- (void)presentInWebView:(UIWebView *)webViewParameters
- webView
UIWebView object which will show popup.
Discussion
This method can be used if you want to show rich push content in a webview that you create. 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 way you want.
This method sets itself to given webview’s delegate. However, it does NOT interrupt your delegate logic. All webview delegate methods that you implement will be called.
NOTE: You should set your delegate object to webview before calling this method!
Declared In
NMRichPushObject.h