Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
P
PhoneManager
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yang
PhoneManager
Commits
030a343f
Commit
030a343f
authored
Apr 08, 2025
by
yqz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4-8-2
parent
ce62ba6f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
AppDelegate.swift
PhoneManager/AppDelegate.swift
+1
-1
LandingVC.swift
PhoneManager/Class/Session/Landing/LandingVC.swift
+1
-0
SecretViewController.swift
PhoneManager/Class/Session/Secret/SecretViewController.swift
+1
-1
PhotoAndVideoMananger.swift
...l/Class/PhotoAndVideoMananger/PhotoAndVideoMananger.swift
+2
-0
No files found.
PhoneManager/AppDelegate.swift
View file @
030a343f
...
...
@@ -19,7 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
window
=
UIWindow
(
frame
:
UIScreen
.
main
.
bounds
)
window
?
.
backgroundColor
=
UIColor
.
colorWithHex
(
hexStr
:
launchColor
)
window
?
.
overrideUserInterfaceStyle
=
.
light
let
Ssoryboard
=
UIStoryboard
(
name
:
"LauchVC"
,
bundle
:
nil
)
if
let
current
=
Ssoryboard
.
instantiateViewController
(
identifier
:
"LauchVCID"
)
as?
LauchVC
{
...
...
PhoneManager/Class/Session/Landing/LandingVC.swift
View file @
030a343f
...
...
@@ -35,6 +35,7 @@ class LandingVC:UIViewController {
configureGradientView
()
setupUI
()
self
.
navigationController
?
.
interactivePopGestureRecognizer
?
.
isEnabled
=
false
}
override
func
viewDidAppear
(
_
animated
:
Bool
)
{
...
...
PhoneManager/Class/Session/Secret/SecretViewController.swift
View file @
030a343f
...
...
@@ -144,7 +144,7 @@ class SecretViewController: BaseViewController {
}
secretDesc
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
secretTL
.
snp
.
left
)
make
.
top
.
equalTo
(
secretTL
.
snp
.
bottom
)
.
offset
(
2
)
make
.
top
.
equalTo
(
secretTL
.
snp
.
bottom
)
.
offset
(
1
2
)
}
secretLock
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
.
offset
(
-
28
)
...
...
PhoneManager/Class/Tool/Class/PhotoAndVideoMananger/PhotoAndVideoMananger.swift
View file @
030a343f
...
...
@@ -701,6 +701,7 @@ class SecretPhotoManager: NSObject, PhotoPickerControllerDelegate , CameraContro
if
type
==
0
{
let
config
=
CameraConfiguration
()
let
vc
=
CameraController
(
config
:
config
,
type
:
.
all
,
delegate
:
self
)
vc
.
modalPresentationStyle
=
.
overFullScreen
guard
let
root
=
cWindow
?
.
rootViewController
else
{
return
}
root
.
present
(
vc
,
animated
:
true
)
}
else
{
...
...
@@ -708,6 +709,7 @@ class SecretPhotoManager: NSObject, PhotoPickerControllerDelegate , CameraContro
config
.
selectMode
=
.
multiple
config
.
maximumSelectedCount
=
4
let
vc
=
PhotoPickerController
(
picker
:
config
,
delegate
:
self
)
vc
.
modalPresentationStyle
=
.
overFullScreen
guard
let
root
=
cWindow
?
.
rootViewController
else
{
return
}
root
.
present
(
vc
,
animated
:
true
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment