Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
868b632e
Commit
868b632e
authored
Apr 23, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决ipad
parent
f00b99e0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
25 deletions
+36
-25
Fastfile
galaxy/fastlane/Fastfile
+1
-1
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+19
-19
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+4
-2
Info.plist
galaxy/galaxy/Res/Info.plist
+9
-0
Launch Screen.storyboard
galaxy/galaxy/Res/Launch Screen.storyboard
+3
-3
No files found.
galaxy/fastlane/Fastfile
View file @
868b632e
...
...
@@ -33,7 +33,7 @@ platform :ios do
sc_105_branch = "sc-1.0.5"
main_fix = "main-fix"
jiaofei = "jiaofei"
plan = "4.25"
plan = "4.25
-1
"
#打包正使用的分支
myPack_branch = plan
...
...
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
868b632e
...
...
@@ -8494,7 +8494,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyTestEnv.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -8504,7 +8504,7 @@
);
GENERATE_INFOPLIST_FILE
=
YES
;
INFOPLIST_FILE
=
galaxy/Res/Info.plist
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活-
Test
"
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活-
Dev
"
;
INFOPLIST_KEY_LSApplicationCategoryType
=
"public.app-category.business"
;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace
=
YES
;
INFOPLIST_KEY_NSCameraUsageDescription
=
"APP需要您的同意,才能使用相机进行照片拍摄来完成信息填写,如禁止将无法拍摄照片,会影响资料提交效率。"
;
...
...
@@ -8514,14 +8514,14 @@
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UILaunchStoryboardName
=
"Launch Screen.storyboard"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscape
Left UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscape
Right UIInterfaceOrientationPortrait"
;
INFOPLIST_KEY_UIUserInterfaceStyle
=
Light
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
3
.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
4
.0
;
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
2.2.
1
;
MARKETING_VERSION
=
2.2.
2
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
@@ -8642,7 +8642,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -8652,7 +8652,7 @@
);
GENERATE_INFOPLIST_FILE
=
YES
;
INFOPLIST_FILE
=
galaxy/Res/Info.plist
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活-
Uat
"
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活-
Dev
"
;
INFOPLIST_KEY_LSApplicationCategoryType
=
"public.app-category.business"
;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace
=
YES
;
INFOPLIST_KEY_NSCameraUsageDescription
=
"APP需要您的同意,才能使用相机进行照片拍摄来完成信息填写,如禁止将无法拍摄照片,会影响资料提交效率。"
;
...
...
@@ -8662,14 +8662,14 @@
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UILaunchStoryboardName
=
"Launch Screen.storyboard"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscape
Left UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscape
Right UIInterfaceOrientationPortrait"
;
INFOPLIST_KEY_UIUserInterfaceStyle
=
Light
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
3
.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
4
.0
;
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
2.2.
1
;
MARKETING_VERSION
=
2.2.
2
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
@@ -8852,7 +8852,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyDebug.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -8872,14 +8872,14 @@
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UILaunchStoryboardName
=
"Launch Screen.storyboard"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscape
Left UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscape
Right UIInterfaceOrientationPortrait"
;
INFOPLIST_KEY_UIUserInterfaceStyle
=
Light
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
3
.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
4
.0
;
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
2.2.
1
;
MARKETING_VERSION
=
2.2.
2
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
@@ -8902,7 +8902,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -8912,7 +8912,7 @@
);
GENERATE_INFOPLIST_FILE
=
YES
;
INFOPLIST_FILE
=
galaxy/Res/Info.plist
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活"
;
INFOPLIST_KEY_CFBundleDisplayName
=
"银河港生活
-Dev
"
;
INFOPLIST_KEY_LSApplicationCategoryType
=
"public.app-category.business"
;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace
=
YES
;
INFOPLIST_KEY_NSCameraUsageDescription
=
"APP需要您的同意,才能使用相机进行照片拍摄来完成信息填写,如禁止将无法拍摄照片,会影响资料提交效率。"
;
...
...
@@ -8922,14 +8922,14 @@
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UILaunchStoryboardName
=
"Launch Screen.storyboard"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscape
Left UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscape
Right UIInterfaceOrientationPortrait"
;
INFOPLIST_KEY_UIUserInterfaceStyle
=
Light
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
3
.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
4
.0
;
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
2.2.
1
;
MARKETING_VERSION
=
2.2.
2
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
galaxy/galaxy/AppDelegate.swift
View file @
868b632e
...
...
@@ -223,16 +223,18 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
}
func
application
(
_
application
:
UIApplication
,
supportedInterfaceOrientationsFor
window
:
UIWindow
?)
->
UIInterfaceOrientationMask
{
if
UIDevice
.
current
.
userInterfaceIdiom
==
.
pad
{
return
.
all
}
else
{
let
vc
=
UIViewController
.
current
??
UIViewController
()
if
vc
.
isKind
(
of
:
YHLivePlayerViewController
.
self
)
{
if
let
vc2
=
vc
as?
YHLivePlayerViewController
,
vc2
.
canDoRotateFunc
()
{
// printLog(" 可旋转")
return
[
.
portrait
,
.
landscapeRight
]
}
}
// printLog("不 可旋转")
return
.
portrait
}
}
func
application
(
_
app
:
UIApplication
,
open
url
:
URL
,
options
:
[
UIApplication
.
OpenURLOptionsKey
:
Any
]
=
[:])
->
Bool
{
...
...
galaxy/galaxy/Res/Info.plist
View file @
868b632e
...
...
@@ -2,6 +2,15 @@
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
<
string
>
Launch
Screen.storyboard
<
/string
>
<
k
e
y
>
UILaunchScreen
<
/k
e
y
>
<
d
i
c
t
>
<
k
e
y
>
UIImageName
<
/k
e
y
>
<
string
>
AppIcon
<
/string
>
<
k
e
y
>
UIColorName
<
/k
e
y
>
<
string
>
FFFFFF
<
/string
>
<
/
d
i
c
t
>
<
k
e
y
>
CFBundleDocumentTypes
<
/k
e
y
>
<
a
rr
a
y
>
<
d
i
c
t
>
...
...
galaxy/galaxy/Res/Launch Screen.storyboard
View file @
868b632e
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"2
2505
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
launchScreen=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
initialViewController=
"01J-lp-oVM"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"2
3094
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
launchScreen=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
initialViewController=
"01J-lp-oVM"
>
<device
id=
"retina6_12"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"2
250
4"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"2
308
4"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
...
...
@@ -36,6 +36,6 @@
</scene>
</scenes>
<resources>
<image
name=
"launch_screen_image"
width=
"
276"
height=
"597.33331298828125
"
/>
<image
name=
"launch_screen_image"
width=
"
375"
height=
"812
"
/>
</resources>
</document>
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