Present lock view only if needed for an action
* Do not present lock view in 'viewDidLoad' since this might be too early for an extension ("Not running foreground").
* Instead, show it for actions requiring authentication, e.g. showing the password list or providing a password, or only in 'viewDidAppear'.
* Refactor and lazily load other view controllers and data.
* Let credential providing view controllers decide when to hide themselves.
This commit is contained in:
parent
942f462db8
commit
bc2d9aa8e8
4 changed files with 67 additions and 51 deletions
|
|
@ -221,6 +221,8 @@ closure_body_length:
|
|||
identifier_name:
|
||||
excluded: ["id", "to", "Defaults"]
|
||||
allowed_symbols: ["_"]
|
||||
multiline_arguments:
|
||||
only_enforce_after_first_closure_on_first_line: true
|
||||
type_name:
|
||||
max_length: 50
|
||||
trailing_closure:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue