The in-application host controller for the reward-advert web page.
More...
#include <RewardWebViewController.h>
|
| id< SdkViewDelegate > | sdkDelegate |
| | The SDK delegate that receives the advert lifecycle notices.
|
| UIView * | parentView |
| | The host view the advert web view is added to.
|
|
UIView * | baseView |
| | The container view that hosts the web view and navigation bar.
|
|
UIWebView * | webView |
| | The web view that renders the reward-advert page.
|
| UINavigationBar * | navigationBar |
| | The navigation bar carrying the advert title and close button.
|
|
ApplilinkIndicator * | indicator |
| | The loading overlay shown while the advert page loads.
|
|
BOOL | isNavigationBarHidden |
| | Whether the advert screen hides its navigation bar.
|
| BOOL | webViewBounces |
| | Whether the web view's scroll view is allowed to bounce.
|
|
RewardWebViewControllerWebViewStatus | webViewStatus |
| | The current load state of the advert web view.
|
The in-application host controller for the reward-advert web page.
◆ appliListClosed
Close the advert list from an external request.
Cancels the pending indicator activation, marks the view closed, stops any in-flight load, and tears the advert web view down.
- Ghidra address:
- 0x24d090
- Ghidra address:
- 0x24d090
◆ clearDelegate
Clear the SDK delegate and detach the web view's delegate.
- Ghidra address:
- 0x24f208
◆ closeNotice:
| - (void) closeNotice: |
|
(nullable id) | view |
|
Relay a close notice through ApplilinkViewManager.
- Parameters
-
| view | The view reporting the close. |
- Ghidra address:
- 0x24dc64
◆ loadRequestWithURL:parameters:
| - (void) loadRequestWithURL: |
|
(nullable NSString *) | url |
| parameters: |
|
(nullable NSDictionary *) | parameters |
Load the reward-advert page from a URL with request parameters.
Resets the load state, attaches the controller's view to parentView (or the main window), builds a thirty-second, no-cache mutable request with the parameters appended to the URL, lazily creates the web view, aligns it to the current status-bar orientation, and starts the load.
- Parameters
-
| url | The reward-advert page URL string. |
| parameters | The request parameters to append as a query string. |
- Ghidra address:
- 0x24cd7c
◆ setNavigationBarHidden:
| - (void) setNavigationBarHidden: |
|
(BOOL) | navigationBarHidden |
|
Set whether the advert screen hides its navigation bar.
This is the SDK-facing alias for isNavigationBarHidden used by RewardCore; it stores straight into the backing ivar, distinct from the synthesized -setIsNavigationBarHidden:.
- Parameters
-
| navigationBarHidden | YES to hide the navigation bar. |
- Ghidra address:
- 0x24cd64
- Ghidra address:
- 0x24cd64
◆ showVideoViewWithQuery:
| - (void) showVideoViewWithQuery: |
|
(nullable NSString *) | query |
|
Present the reward-video view for query through RewardCore.
- Parameters
-
| query | The video request query. |
- Ghidra address:
- 0x24d018
◆ updateIndicator:
| - (void) updateIndicator: |
|
(BOOL) | show |
|
Show or hide the loading overlay.
- Parameters
-
| show | YES to show the overlay, NO to hide it. |
- Ghidra address:
- 0x24d130
- Ghidra address:
- 0x24d130
◆ viewDealloc
Tear down the advert web view and release its subviews.
- Ghidra address:
- 0x24cc54
◆ willAnimateRotationToInterfaceOrientation:duration:
| - (void) willAnimateRotationToInterfaceOrientation: |
|
(UIInterfaceOrientation) | orientation |
| duration: |
|
(NSTimeInterval) | duration |
Re-lay the advert web view for a rotation, driven by RewardCore.
Ignores orientation and re-lays for the application's current statusBarOrientation instead.
- Parameters
-
| orientation | The interface orientation being rotated to (ignored). |
| duration | The rotation animation duration. |
- Ghidra address:
- 0x24f058
- Ghidra address:
- 0x24f058
◆ navigationBar
| - (UINavigationBar*) navigationBar |
|
readwritenonatomicstrong |
The navigation bar carrying the advert title and close button.
Created only when the navigation bar is not hidden.
◆ parentView
The host view the advert web view is added to.
When nil the advert is added to [ApplilinkCore mainWindow] instead.
◆ sdkDelegate
The SDK delegate that receives the advert lifecycle notices.
Held weakly: the controller forwards each notice to it but does not own it, and clears the reference once the closing or open-failure notice has been sent.
◆ webViewBounces
Whether the web view's scroll view is allowed to bounce.
The stored value is inverted by -setWebViewBounces:, then cleared after -loadView applies it to the scroll view.
The documentation for this class was generated from the following files: