Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sailassist
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
54
Merge Requests
54
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
gr-ssv
Sailassist
Commits
2d1d9f12
Commit
2d1d9f12
authored
Jun 16, 2025
by
shigemi miura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iPhone iOS18対応 Tabが押せない不具合修正
iPad Sheetが使えない不具合修正
parent
af4a98e1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
4 deletions
+47
-4
project.pbxproj
Seilassist/Sailassist.xcodeproj/project.pbxproj
+13
-0
MapInformation.swift
Seilassist/Sailassist/Map/MapInformation.swift
+10
-1
SailassistApp.swift
Seilassist/Sailassist/SailassistApp.swift
+24
-3
MainTabView.swift
Seilassist/Sailassist/Tab/MainTabView.swift
+0
-0
No files found.
Seilassist/Sailassist.xcodeproj/project.pbxproj
View file @
2d1d9f12
...
@@ -958,10 +958,14 @@
...
@@ -958,10 +958,14 @@
inputFileListPaths
=
(
inputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-Sailassist/Pods-Sailassist-frameworks-${CONFIGURATION}-input-files.xcfilelist"
,
"${PODS_ROOT}/Target Support Files/Pods-Sailassist/Pods-Sailassist-frameworks-${CONFIGURATION}-input-files.xcfilelist"
,
);
);
inputPaths
=
(
);
name
=
"[CP] Embed Pods Frameworks"
;
name
=
"[CP] Embed Pods Frameworks"
;
outputFileListPaths
=
(
outputFileListPaths
=
(
"${PODS_ROOT}/Target Support Files/Pods-Sailassist/Pods-Sailassist-frameworks-${CONFIGURATION}-output-files.xcfilelist"
,
"${PODS_ROOT}/Target Support Files/Pods-Sailassist/Pods-Sailassist-frameworks-${CONFIGURATION}-output-files.xcfilelist"
,
);
);
outputPaths
=
(
);
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellPath
=
/bin/sh
;
shellScript
=
"\"${PODS_ROOT}/Target Support Files/Pods-Sailassist/Pods-Sailassist-frameworks.sh\"\n"
;
shellScript
=
"\"${PODS_ROOT}/Target Support Files/Pods-Sailassist/Pods-Sailassist-frameworks.sh\"\n"
;
...
@@ -1295,12 +1299,15 @@
...
@@ -1295,12 +1299,15 @@
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UILaunchScreen_Generation
=
YES
;
INFOPLIST_KEY_UILaunchScreen_Generation
=
YES
;
INFOPLIST_KEY_UIRequiresFullScreen
=
YES
;
INFOPLIST_KEY_UIRequiresFullScreen
=
YES
;
INFOPLIST_KEY_UIStatusBarStyle
=
""
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
;
IPHONEOS_DEPLOYMENT_TARGET
=
16.4
;
IPHONEOS_DEPLOYMENT_TARGET
=
16.4
;
LD_RUNPATH_SEARCH_PATHS
=
(
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"$(inherited)"
,
"@executable_path/Frameworks"
,
"@executable_path/Frameworks"
,
);
);
MACOSX_DEPLOYMENT_TARGET
=
11.5
;
MARKETING_VERSION
=
1.0.3
;
MARKETING_VERSION
=
1.0.3
;
OTHER_SWIFT_FLAGS
=
"-D CANARY -D COCOAPODS"
;
OTHER_SWIFT_FLAGS
=
"-D CANARY -D COCOAPODS"
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.jrc.sailassist.canary
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.jrc.sailassist.canary
;
...
@@ -1338,12 +1345,15 @@
...
@@ -1338,12 +1345,15 @@
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UILaunchScreen_Generation
=
YES
;
INFOPLIST_KEY_UILaunchScreen_Generation
=
YES
;
INFOPLIST_KEY_UIRequiresFullScreen
=
YES
;
INFOPLIST_KEY_UIRequiresFullScreen
=
YES
;
INFOPLIST_KEY_UIStatusBarStyle
=
""
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
;
IPHONEOS_DEPLOYMENT_TARGET
=
16.4
;
IPHONEOS_DEPLOYMENT_TARGET
=
16.4
;
LD_RUNPATH_SEARCH_PATHS
=
(
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"$(inherited)"
,
"@executable_path/Frameworks"
,
"@executable_path/Frameworks"
,
);
);
MACOSX_DEPLOYMENT_TARGET
=
11.5
;
MARKETING_VERSION
=
1.0.3
;
MARKETING_VERSION
=
1.0.3
;
OTHER_SWIFT_FLAGS
=
"-D COCOAPODS"
;
OTHER_SWIFT_FLAGS
=
"-D COCOAPODS"
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.jrc.sailassist
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.jrc.sailassist
;
...
@@ -1524,12 +1534,15 @@
...
@@ -1524,12 +1534,15 @@
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents
=
YES
;
INFOPLIST_KEY_UILaunchScreen_Generation
=
YES
;
INFOPLIST_KEY_UILaunchScreen_Generation
=
YES
;
INFOPLIST_KEY_UIRequiresFullScreen
=
YES
;
INFOPLIST_KEY_UIRequiresFullScreen
=
YES
;
INFOPLIST_KEY_UIStatusBarStyle
=
""
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations
=
UIInterfaceOrientationPortrait
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad
=
"UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
;
IPHONEOS_DEPLOYMENT_TARGET
=
16.4
;
IPHONEOS_DEPLOYMENT_TARGET
=
16.4
;
LD_RUNPATH_SEARCH_PATHS
=
(
LD_RUNPATH_SEARCH_PATHS
=
(
"$(inherited)"
,
"$(inherited)"
,
"@executable_path/Frameworks"
,
"@executable_path/Frameworks"
,
);
);
MACOSX_DEPLOYMENT_TARGET
=
11.5
;
MARKETING_VERSION
=
1.0.3
;
MARKETING_VERSION
=
1.0.3
;
OTHER_SWIFT_FLAGS
=
"-D QC -D COCOAPODS"
;
OTHER_SWIFT_FLAGS
=
"-D QC -D COCOAPODS"
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.jrc.sailassist.qc
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.jrc.sailassist.qc
;
...
...
Seilassist/Sailassist/Map/MapInformation.swift
View file @
2d1d9f12
...
@@ -22,7 +22,7 @@ struct MapInformation: View {
...
@@ -22,7 +22,7 @@ struct MapInformation: View {
.
cornerRadius
(
3
)
.
cornerRadius
(
3
)
}
}
.
padding
(
.
top
,
100
)
.
padding
(
.
top
,
100
)
.
padding
(
.
trailing
,
200
)
.
padding
(
.
trailing
,
positionLocation
()
)
VStack
{
VStack
{
ForEach
(
ngaData
.
ngaArea
.
map
{
$0
.
1
}
.
filter
{
$0
.
passingCnt
>
0
},
id
:
\
.
name
)
{
nga
in
ForEach
(
ngaData
.
ngaArea
.
map
{
$0
.
1
}
.
filter
{
$0
.
passingCnt
>
0
},
id
:
\
.
name
)
{
nga
in
Text
(
"Entering NGA
\(
nga
.
name
)
"
)
Text
(
"Entering NGA
\(
nga
.
name
)
"
)
...
@@ -44,6 +44,15 @@ struct MapInformation: View {
...
@@ -44,6 +44,15 @@ struct MapInformation: View {
}
}
return
location
return
location
}
}
func
positionLocation
()
->
CGFloat
{
var
yPos
:
CGFloat
=
200
if
UIDevice
.
current
.
userInterfaceIdiom
==
.
pad
{
yPos
=
900
}
return
yPos
}
}
}
#Preview {
#Preview {
...
...
Seilassist/Sailassist/SailassistApp.swift
View file @
2d1d9f12
...
@@ -454,15 +454,36 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, ObservableObject {
...
@@ -454,15 +454,36 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, ObservableObject {
let
tabWindow
=
PassThroughWindow
(
windowScene
:
scene
)
let
tabWindow
=
PassThroughWindow
(
windowScene
:
scene
)
tabWindow
.
rootViewController
=
tabBarController
tabWindow
.
rootViewController
=
tabBarController
tabWindow
.
isHidden
=
false
tabWindow
.
isHidden
=
false
self
.
tabWindow
=
tabWindow
self
.
tabWindow
=
tabWindow
}
}
}
}
class
PassThroughWindow
:
UIWindow
{
class
PassThroughWindow
:
UIWindow
{
// override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
// guard let view = super.hitTest(point, with: event) else { return nil}
// return rootViewController?.view == view ? nil : view
// }
override
func
hitTest
(
_
point
:
CGPoint
,
with
event
:
UIEvent
?)
->
UIView
?
{
override
func
hitTest
(
_
point
:
CGPoint
,
with
event
:
UIEvent
?)
->
UIView
?
{
guard
let
view
=
super
.
hitTest
(
point
,
with
:
event
)
else
{
return
nil
}
let
view
=
super
.
hitTest
(
point
,
with
:
event
)
return
rootViewController
?
.
view
==
view
?
nil
:
view
if
let
view
=
view
{
print
(
"Hit test view:
\(
view
)
, at point:
\(
point
)
"
)
print
(
"View hierarchy:
\(
type
(
of
:
view
)
)
->
\(
view
.
superview
)
"
)
}
else
{
print
(
"Hit test view: nil, at point:
\(
point
)
"
)
}
// rootViewController?.view がヒットしても、子ビューがある場合は透過しない
if
rootViewController
?
.
view
==
view
{
// 子ビューが存在する場合はタッチイベントを処理
if
rootViewController
?
.
view
.
subviews
.
contains
(
where
:
{
$0
.
frame
.
contains
(
point
)
})
==
true
{
return
view
}
print
(
"Background was hit, passing through"
)
return
nil
}
return
view
}
}
}
}
...
...
Seilassist/Sailassist/Tab/MainTabView.swift
View file @
2d1d9f12
This diff is collapsed.
Click to expand it.
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