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
1a41de7d
Commit
1a41de7d
authored
May 23, 2025
by
yqz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
2ad48f42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
project.pbxproj
PhoneManager.xcodeproj/project.pbxproj
+8
-2
VideoViewController.swift
...eManager/Class/Page/Home/Common/VideoViewController.swift
+4
-0
No files found.
PhoneManager.xcodeproj/project.pbxproj
View file @
1a41de7d
...
...
@@ -340,8 +340,6 @@
049F146E2DDB1F64007B5A9B
/* LockSreen */
,
);
name
=
LockSreenExtension
;
packageProductDependencies
=
(
);
productName
=
LockSreenExtension
;
productReference
=
049F146B2DDB1F64007B5A9B
/* LockSreenExtension.appex */
;
productType
=
"com.apple.product-type.app-extension"
;
...
...
@@ -510,10 +508,14 @@
inputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-PhoneManager/Pods-PhoneManager-resources-${CONFIGURATION}-input-files.xcfilelist"
,
);
inputPaths
=
(
);
name
=
"[CP] Copy Pods Resources"
;
outputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-PhoneManager/Pods-PhoneManager-resources-${CONFIGURATION}-output-files.xcfilelist"
,
);
outputPaths
=
(
);
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellScript
=
"\"${PODS_ROOT}/Target Support Files/Pods-PhoneManager/Pods-PhoneManager-resources.sh\"\n"
;
...
...
@@ -527,10 +529,14 @@
inputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-PhoneManager/Pods-PhoneManager-frameworks-${CONFIGURATION}-input-files.xcfilelist"
,
);
inputPaths
=
(
);
name
=
"[CP] Embed Pods Frameworks"
;
outputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-PhoneManager/Pods-PhoneManager-frameworks-${CONFIGURATION}-output-files.xcfilelist"
,
);
outputPaths
=
(
);
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellScript
=
"\"${PODS_ROOT}/Target Support Files/Pods-PhoneManager/Pods-PhoneManager-frameworks.sh\"\n"
;
...
...
PhoneManager/Class/Page/Home/Common/VideoViewController.swift
View file @
1a41de7d
...
...
@@ -29,8 +29,12 @@ class VideoViewController: UIViewController {
// 1. 创建播放器
if
let
url
=
self
.
url
{
self
.
player
=
AVPlayer
(
url
:
url
)
self
.
player
?
.
automaticallyWaitsToMinimizeStalling
=
false
self
.
player
?
.
volume
=
0
self
.
player
?
.
isMuted
=
true
// 2. 配置播放器控制器
self
.
playerViewController
.
videoGravity
=
.
resizeAspect
self
.
playerViewController
.
player
=
self
.
player
self
.
playerViewController
.
delegate
=
self
self
.
playerViewController
.
showsPlaybackControls
=
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