A UIWebView sheet that shows the challenge login/information page and routes its custom link schemes back to a delegate.
More...
#include <ChallengeLoginInformationView.h>
A UIWebView sheet that shows the challenge login/information page and routes its custom link schemes back to a delegate.
◆ closeMessage:
| - (void) closeMessage: |
|
(nullable id) | sender |
|
Close-button action: plays the close sound when independent, then notifies the delegate.
- Parameters
-
- Ghidra address:
- 0xaf9e0
◆ initWithFrame:
| - (instancetype) initWithFrame: |
|
(CGRect) | frame |
|
Builds the sheet's subviews and starts loading.
Funnelled to by the designated initialiser.
- Parameters
-
| frame | The view's initial frame. |
- Returns
- The initialised view.
- Ghidra address:
- 0xaf244
- Ghidra address:
- 0xaf244
◆ initWithFrame:dispURL:btnType:
| - (instancetype) initWithFrame: |
|
(CGRect) | frame |
| dispURL: |
|
(nullable NSString *) | dispURL |
| btnType: |
|
(int) | btnType |
The designated initialiser.
- Parameters
-
| frame | The sheet's frame in its superview. |
| dispURL | The page URL to load; when nil the challenge information URL is used. |
| btnType | The close-button art selector; 1 uses the "back" image, otherwise "cancel". |
- Returns
- The initialised sheet.
- Ghidra address:
- 0xaf19c
◆ notificationRequest
| - (void) notificationRequest |
|
|
|
Loads the sheet's request into the web view, building one from dispURL when firstRequest is not already set.
- Ghidra address:
- 0xaf914
◆ stopIndicator
Stops and removes the loading indicator.
- Ghidra address:
- 0xb00a8
◆ 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:
- 0xafb4c
◆ webView:didFailLoadWithError:
| - (void) webView: |
|
(UIWebView *) | webView |
| didFailLoadWithError: |
|
(NSError *) | error |
Shows a network-error alert and stops the indicator on a load failure.
- Parameters
-
| webView | The web view reporting the failure. |
| error | The load failure. |
- Ghidra address:
- 0xb0104
- Ghidra address:
- 0xb0104
◆ webView:shouldStartLoadWithRequest:navigationType:
| - (BOOL) webView: |
|
(UIWebView *) | webView |
| shouldStartLoadWithRequest: |
|
(NSURLRequest *) | request |
| navigationType: |
|
(UIWebViewNavigationType) | navigationType |
Intercepts the page's custom link schemes; returns NO for a handled link and YES to let the web view load the request.
- Parameters
-
| webView | The web view asking. |
| request | The request it is about to load. |
| navigationType | What triggered the navigation. |
- Returns
- NO for a handled custom-scheme link, YES to let the web view load the request.
- Ghidra address:
- 0xafc94
- Ghidra address:
- 0xafc94
◆ webViewDidFinishLoad:
| - (void) webViewDidFinishLoad: |
|
(UIWebView *) | webView |
|
Stops the indicator and disables the WebKit touch callout when a load finishes.
- Parameters
-
| webView | The web view that finished loading. |
- Ghidra address:
- 0xb0240
- Ghidra address:
- 0xb0240
◆ webViewDidStartLoad:
| - (void) webViewDidStartLoad: |
|
(UIWebView *) | webView |
|
Clears the shared URL cache when a load starts.
- Parameters
-
| webView | The web view that started loading. |
- Ghidra address:
- 0xb01f8
- Ghidra address:
- 0xb01f8
◆ aDelegate
The owner told about close and pack-link events.
Held weakly; backed by _aDelegate .
The documentation for this class was generated from the following files: