A view controller presenting the notification page in a UIWebView.
More...
#include <NotificationPageViewController.h>
A view controller presenting the notification page in a UIWebView.
◆ errorIDDownload:msgStr:
| - (void) errorIDDownload: |
|
(nullable id) | manager |
| msgStr: |
|
(nullable NSString *) | msgStr |
EditorIDManager callback: editor identifier provisioning failed.
Loads the notification request regardless.
- Parameters
-
| manager | The manager that failed. |
| msgStr | The server-supplied message, or nil. |
- Ghidra address:
- 0x1eb404
Reimplemented from <EditorIDManagerDelegate>.
◆ init:
Initialises the controller for the application notification URL.
When an editor identifier exists it loads immediately, otherwise it provisions one through an EditorIDManager .
- Parameters
-
| delegate | The delegate to receive store-navigation events. Held weakly. |
- Returns
- The initialised controller.
- Ghidra address:
- 0x1ea914
◆ initPage:
Builds the web view and loading indicator and stores the delegate; does not load a request (see notificationRequest ).
- Parameters
-
| delegate | The delegate to receive store-navigation events. Held weakly. |
- Ghidra address:
- 0x1ea528
◆ initWithURL:delegate:
Initialises the controller to load an explicit URL instead of the notification URL.
- Parameters
-
| url | The URL to load. |
| delegate | The delegate to receive store-navigation events. Held weakly. |
- Returns
- The initialised controller.
- Ghidra address:
- 0x1eaa8c
◆ moveStore:packID:
| - (void) moveStore: |
|
(nullable id) | store |
| packID: |
|
(nullable NSString *) | packID |
Tells the delegate to move to the jubeat store at a given pack.
- Parameters
-
| store | The store target (unused by the binary beyond being forwarded). |
| packID | The pack identifier to open. |
- Ghidra address:
- 0x1eb314
◆ notificationRequest
| - (void) notificationRequest |
|
|
|
Loads the notification request into the web view.
Builds it from -[JubeatAppDelegate notificationURL] when none was supplied at initialisation.
- Ghidra address:
- 0x1ea82c
- Ghidra address:
- 0x1ea82c
◆ shouldAutorotate
| - (BOOL) shouldAutorotate |
|
|
|
Whether the controller supports autorotation; always YES.
- Returns
- Always YES.
- Ghidra address:
- 0x1eb434
- Ghidra address:
- 0x1eb434
◆ shouldAutorotateToInterfaceOrientation:
| - (BOOL) shouldAutorotateToInterfaceOrientation: |
|
(UIInterfaceOrientation) | interfaceOrientation |
|
Whether to rotate to a given interface orientation; portrait and portrait-upside-down only.
- Parameters
-
| interfaceOrientation | The orientation asked about. |
- Returns
- YES for the two portrait orientations, NO otherwise.
- Ghidra address:
- 0x1eb41c
- Ghidra address:
- 0x1eb41c
◆ stopIndicator
Stops and removes the loading indicator.
- Ghidra address:
- 0x1eb108
◆ successIDDownload:
| - (void) successIDDownload: |
|
(nullable id) | manager |
|
EditorIDManager callback: editor identifier provisioning succeeded.
Loads the notification request.
- Parameters
-
| manager | The manager that finished. |
- Ghidra address:
- 0x1eb410
Reimplemented from <EditorIDManagerDelegate>.
◆ supportedInterfaceOrientations
| - (UIInterfaceOrientationMask) supportedInterfaceOrientations |
|
|
|
The supported interface orientations: portrait and portrait-upside-down.
- Returns
- Both portrait orientations.
- Ghidra address:
- 0x1eb42c
- Ghidra address:
- 0x1eb42c
◆ uiWebView:resource:willSendRequest:redirectResponse:fromDataSource:
| - (nullable NSURLRequest *) uiWebView: |
|
(nullable id) | uiWebView |
| resource: |
|
(nullable id) | resource |
| willSendRequest: |
|
(nullable NSMutableURLRequest *) | request |
| redirectResponse: |
|
(nullable NSURLResponse *) | redirectResponse |
| fromDataSource: |
|
(nullable id) | dataSource |
Resource-load hook that stamps the app's user agent onto every outgoing request.
- Parameters
-
| uiWebView | The web view loading the resource. |
| resource | The resource being loaded. |
| request | The outgoing request, stamped with the user agent. |
| redirectResponse | The redirect that led here, or nil when there was none. |
| dataSource | The data source driving the load. |
- Returns
- The request to send.
- Ghidra address:
- 0x1eabc0
◆ viewWillDisappear:
| - (void) viewWillDisappear: |
|
(BOOL) | animated |
|
Closes any open alert when the view disappears.
- Parameters
-
| animated | Whether the disappearance is animated. |
- Ghidra address:
- 0x1eb3bc
- Ghidra address:
- 0x1eb3bc
◆ webView:didFailLoadWithError:
| - (void) webView: |
|
(UIWebView *) | webView |
| didFailLoadWithError: |
|
(NSError *) | error |
Shows a network-error alert on a load failure, then stops the indicator.
- Parameters
-
| webView | The web view reporting the failure. |
| error | The load failure. |
- Ghidra address:
- 0x1eb164
- Ghidra address:
- 0x1eb164
◆ webView:shouldStartLoadWithRequest:navigationType:
| - (BOOL) webView: |
|
(UIWebView *) | webView |
| shouldStartLoadWithRequest: |
|
(NSURLRequest *) | request |
| navigationType: |
|
(UIWebViewNavigationType) | navigationType |
Gates the page's navigation.
Only a user-clicked link is inspected: a twitter:// link is blocked, an openurl:// link is opened externally as https:// , and a jbtstore://.../pack/<id> link is delivered to the delegate. Returns NO for a handled link and YES otherwise.
- Parameters
-
| webView | The web view asking. |
| request | The request it is about to load. |
| navigationType | What triggered the navigation. |
- Returns
- NO for a handled link, YES otherwise.
- Ghidra address:
- 0x1ead08
- Ghidra address:
- 0x1ead08
◆ webViewDidFinishLoad:
| - (void) webViewDidFinishLoad: |
|
(UIWebView *) | webView |
|
Stops the indicator when a load finishes and disables the WebKit touch-callout menu.
- Parameters
-
| webView | The web view that finished loading. |
- Ghidra address:
- 0x1eb2a4
- Ghidra address:
- 0x1eb2a4
◆ webViewDidStartLoad:
| - (void) webViewDidStartLoad: |
|
(UIWebView *) | webView |
|
Clears the shared URL cache when a load starts.
- Parameters
-
| webView | The web view that started loading. |
- Ghidra address:
- 0x1eb25c
- Ghidra address:
- 0x1eb25c
The documentation for this class was generated from the following files: