FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Strongbox/StrongBox/AllSetAlreadyHasDatabaseViewController.m at master · MacPass/Strongbox · GitHub
MacPass
/
Strongbox
Public
forked from
strongbox-password-safe/Strongbox
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Strongbox
/
StrongBox
/
AllSetAlreadyHasDatabaseViewController.m
Copy path
More file actions
More file actions
Latest commit
History
History
History
59 lines (44 loc) · 1.33 KB
Breadcrumbs
Strongbox
/
StrongBox
/
AllSetAlreadyHasDatabaseViewController.m
Copy path
File metadata and controls
59 lines (44 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
//
AllSetAlreadyHasDatabaseViewController.m
//
Strongbox
//
//
Created by Strongbox on 19/08/2020.
//
Copyright © 2014-2021 Mark McGuill. All rights reserved.
//
#
import
"
AllSetAlreadyHasDatabaseViewController.h
"
@interface
AllSetAlreadyHasDatabaseViewController
()
@property
(
weak
,
nonatomic
)
IBOutlet
UIButton *buttonGo;
@end
@implementation
AllSetAlreadyHasDatabaseViewController
- (
BOOL
)
shouldAutorotate
{
if
(
UI_USER_INTERFACE_IDIOM
() == UIUserInterfaceIdiomPad ) {
return
YES
;
/*
Device is iPad
*/
}
else
{
return
NO
;
}
}
- (UIInterfaceOrientationMask)
supportedInterfaceOrientations
{
if
(
UI_USER_INTERFACE_IDIOM
() == UIUserInterfaceIdiomPad ) {
return
UIInterfaceOrientationMaskAll;
/*
Device is iPad
*/
}
else
{
return
UIInterfaceOrientationMaskPortrait;
}
}
- (
void
)
viewWillAppear
:
(
BOOL
)
animated
{
[
super
viewWillAppear:
animated];
self.
navigationController
.
navigationBar
.
hidden
=
YES
;
[
self
.navigationController
setNavigationBarHidden:
YES
];
self.
navigationController
.
toolbarHidden
=
YES
;
self.
navigationController
.
toolbar
.
hidden
=
YES
;
[
self
.navigationItem
setPrompt:
nil
];
}
- (
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self.
buttonGo
.
layer
.
cornerRadius
=
5
.
0f
;
}
- (
IBAction
)
onGo
:
(
id
)
sender
{
self.
onDone
(
NO
,
nil
);
}
@end
Back
|
FazBrowse Home
|
New Git URL