A view controller presenting the jubeatLab editor page in a UIWebView.
More...
#include <SettingsEditorPageViewController.h>
A view controller presenting the jubeatLab editor page in a UIWebView.
◆ createEditorPageURL
| - (NSURLRequest *) createEditorPageURL |
|
|
|
Builds the request for the editor page: an NSURLRequest wrapping +[jubeatLabAccess getUserPageURL] .
- Returns
- The request. Despite the "URL" name the binary returns an
NSURLRequest .
- Ghidra address:
- 0x1f7a88
- Ghidra address:
- 0x1f7a88
◆ errorIDDownload:msgStr:
| - (void) errorIDDownload: |
|
(nullable id) | manager |
| msgStr: |
|
(nullable NSString *) | msgStr |
EditorIDManager callback: editor identifier provisioning failed.
Shows the server message (or a communication-error alert when it is absent).
- Parameters
-
| manager | The manager that failed. |
| msgStr | The server-supplied message, or nil. |
- Ghidra address:
- 0x1f8620
Reimplemented from <EditorIDManagerDelegate>.
◆ init
Initialises the controller: builds the web view and its editor-page request, then either opens a session (when an editor identifier exists) or provisions one through an EditorIDManager .
- Returns
- The initialised controller.
- Ghidra address:
- 0x1f7b7c
- Ghidra address:
- 0x1f7b7c
◆ jubeatLabAccessError:
| - (void) jubeatLabAccessError: |
|
(nullable id) | access |
|
jubeatLab callback sent when the session fails: clears the session and shows a communication-error alert.
- Parameters
-
| access | The jubeatLab client. |
- Ghidra address:
- 0x1f8268
◆ jubeatLabAccessFinished:
| - (void) jubeatLabAccessFinished: |
|
(nullable id) | access |
|
jubeatLab callback sent when the session finishes.
On a keychain-switch status it replaces the keychain and re-opens a session; on success it opens the start page; on any other status with a server message it shows that message.
- Parameters
-
| access | The jubeatLab client. |
- Ghidra address:
- 0x1f838c
◆ jubeatLabAccessProceed:
| - (void) jubeatLabAccessProceed: |
|
(nullable id) | access |
|
jubeatLab callback sent as the session proceeds.
Does nothing.
- Parameters
-
| access | The jubeatLab client. |
- Ghidra address:
- 0x1f8264
◆ openStartPage
Loads the stored next request into the web view.
- Ghidra address:
- 0x1f7af0
◆ sendFaceBook
Shares to Facebook.
- Ghidra address:
- 0x1f895c
◆ sendTwitter
Shares to Twitter.
- Ghidra address:
- 0x1f8944
◆ sessionCreate
Opens a jubeatLab session: builds a jubeatLabAccess session client bound to this controller and starts it.
- Ghidra address:
- 0x1f7b18
◆ shouldAutorotate
| - (BOOL) shouldAutorotate |
|
|
|
Whether the controller supports autorotation; always YES.
- Returns
- Always YES.
- Ghidra address:
- 0x1f876c
- Ghidra address:
- 0x1f876c
◆ 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:
- 0x1f8754
- Ghidra address:
- 0x1f8754
◆ socialSend:
| - (void) socialSend: |
|
(nullable NSString *) | serviceType |
|
Presents the social share composer for a service type, seeded with the stored share text.
- Parameters
-
| serviceType | The SLServiceType constant to compose for. |
- Ghidra address:
- 0x1f87f4
◆ successIDDownload:
| - (void) successIDDownload: |
|
(nullable id) | manager |
|
EditorIDManager callback: editor identifier provisioning succeeded.
Opens a session, or reports an error when the identifier is still absent.
- Parameters
-
| manager | The manager that finished. |
- Ghidra address:
- 0x1f859c
Reimplemented from <EditorIDManagerDelegate>.
◆ supportedInterfaceOrientations
| - (UIInterfaceOrientationMask) supportedInterfaceOrientations |
|
|
|
The supported interface orientations: portrait and portrait-upside-down.
- Returns
- Both portrait orientations.
- Ghidra address:
- 0x1f8764
- Ghidra address:
- 0x1f8764
◆ 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:
- 0x1f7dfc
◆ viewWillDisappear:
| - (void) viewWillDisappear: |
|
(BOOL) | animated |
|
Closes any open alert when the view disappears.
- Parameters
-
| animated | Whether the disappearance is animated. |
- Ghidra address:
- 0x1f8774
- Ghidra address:
- 0x1f8774
◆ webView:didFailLoadWithError:
| - (void) webView: |
|
(UIWebView *) | webView |
| didFailLoadWithError: |
|
(NSError *) | error |
Shows a communication-error alert on a load failure.
- Parameters
-
| webView | The web view reporting the failure. |
| error | The load failure. |
- Ghidra address:
- 0x1f8134
- Ghidra address:
- 0x1f8134
◆ webView:shouldStartLoadWithRequest:navigationType:
| - (BOOL) webView: |
|
(UIWebView *) | webView |
| shouldStartLoadWithRequest: |
|
(NSURLRequest *) | request |
| navigationType: |
|
(UIWebViewNavigationType) | navigationType |
Gates the page's navigation.
A request to the session-failed URL re-opens a session; a clicked twitter:// link is turned into share text and sent to Twitter; any other clicked link is stored as the next request. 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:
- 0x1f7f44
- Ghidra address:
- 0x1f7f44
◆ webViewDidStartLoad:
| - (void) webViewDidStartLoad: |
|
(UIWebView *) | webView |
|
Clears the shared URL cache when a load starts.
- Parameters
-
| webView | The web view that started loading. |
- Ghidra address:
- 0x1f821c
- Ghidra address:
- 0x1f821c
The documentation for this class was generated from the following files: