A view controller presenting a downloaded policy/terms document in the settings screen.
More...
#include <SettingsPolicyViewController.h>
|
| (instancetype) | - initViewController: |
| | Sets the navigation title for the given policy type and, on iOS 7 and later, opts the layout into extending under opaque bars.
|
| (void) | - loadView |
| | Builds the view: a white background and a non-editable UITextView, then kicks off the signed download of the selected policy document with this controller as its delegate.
|
| (void) | - downloaderFinished: |
| | Loads the downloaded document text into the text view, or a localised network-error message when the response reports a failure or carries no usable policy text.
|
| (void) | - downloaderError: |
| | Shows a localised network-error message in the text view.
|
| (void) | - downloaderProceed: |
| | Sent periodically as data arrives, and once more on completion.
|
| (void) | - downloaderFinished: |
| | Sent when the request completes.
|
| (void) | - downloaderError: |
| | Sent when the request fails.
|
A view controller presenting a downloaded policy/terms document in the settings screen.
◆ downloaderError:
| - (void) downloaderError: |
|
(nullable Downloader *) | downloader |
|
Shows a localised network-error message in the text view.
- Parameters
-
| downloader | The downloader that failed. |
- Ghidra address:
- 0x1d43a4
◆ downloaderFinished:
| - (void) downloaderFinished: |
|
(nullable Downloader *) | downloader |
|
Loads the downloaded document text into the text view, or a localised network-error message when the response reports a failure or carries no usable policy text.
- Parameters
-
| downloader | The downloader that finished. |
- Ghidra address:
- 0x1d415c
◆ initViewController:
Sets the navigation title for the given policy type and, on iOS 7 and later, opts the layout into extending under opaque bars.
- Parameters
-
| type | Which policy document this controller presents. |
- Returns
- The initialised controller.
- Ghidra address:
- 0x1d3bf4
- Ghidra address:
- 0x1d3bf4
◆ loadView
Builds the view: a white background and a non-editable UITextView, then kicks off the signed download of the selected policy document with this controller as its delegate.
- Ghidra address:
- 0x1d3d94
The documentation for this class was generated from the following files: