Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckFarm
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
lmj
LuckFarm
Commits
3986359a
Commit
3986359a
authored
Oct 23, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2a795c4b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
8 deletions
+27
-8
ZJGuideConfig.m
GYDemo/GYDemo/GuideManager/ZJGuideConfig.m
+6
-5
GYNative.storyboard
GYDemo/GYDemo/ViewController/GYNative.storyboard
+1
-1
GYWebViewController.m
GYDemo/GYDemo/ViewController/GYWebViewController.m
+2
-2
Breakpoints_v2.xcbkptlist
...ingjinli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
+18
-0
No files found.
GYDemo/GYDemo/GuideManager/ZJGuideConfig.m
View file @
3986359a
...
...
@@ -56,11 +56,12 @@
// __weak typeof(self) weakSelf = self;
self
.
launchScreen
.
finishCallBack
=
^
{
dispatch_async
(
dispatch_get_global_queue
(
0
,
0
),
^
{
dispatch_sync
(
dispatch_get_main_queue
(),
^
{
window
.
rootViewController
=
finishMainVC
;
});
});
result
(
YES
);
// dispatch_async(dispatch_get_global_queue(0, 0), ^{
// dispatch_sync(dispatch_get_main_queue(), ^{
// window.rootViewController = finishMainVC;
// });
// });
};
}
...
...
GYDemo/GYDemo/ViewController/GYNative.storyboard
View file @
3986359a
...
...
@@ -22,7 +22,7 @@
</imageView>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hLq-Ma-mq9"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<color
key=
"backgroundColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"0.
5"
c
olorSpace=
"calibratedRGB"
/>
<color
key=
"backgroundColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"0.
90000000000000002"
colorSpace=
"custom"
customC
olorSpace=
"calibratedRGB"
/>
</view>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"wheel_header"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"6EY-ph-2hw"
>
<rect
key=
"frame"
x=
"0.0"
y=
"64"
width=
"414"
height=
"89"
/>
...
...
GYDemo/GYDemo/ViewController/GYWebViewController.m
View file @
3986359a
...
...
@@ -36,7 +36,7 @@
}
else
{
// Fallback on earlier versions
}
[
webViewConfig
.
userContentController
addScriptMessageHandler
:
self
name
:
@"
CommitFinished
"
];
[
webViewConfig
.
userContentController
addScriptMessageHandler
:
self
name
:
@"
backTrack
"
];
//屏蔽底部黑框
self
.
webView
=
[[
WKWebView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
KScreenWidth
,
KScreenHeight
)
configuration
:
webViewConfig
];
...
...
@@ -184,7 +184,7 @@
-
(
void
)
userContentController
:
(
WKUserContentController
*
)
userContentController
didReceiveScriptMessage
:
(
WKScriptMessage
*
)
message
{
NSLog
(
@"%@"
,
message
.
name
);
// 方法名
if
([
message
.
name
isEqualToString
:
@"
CommitFinished
"
]){
if
([
message
.
name
isEqualToString
:
@"
backTrack
"
]){
__weak
typeof
(
self
)
weakSelf
=
self
;
dispatch_after
(
dispatch_time
(
DISPATCH_TIME_NOW
,
(
int64_t
)(
0
.
5
*
NSEC_PER_SEC
)),
dispatch_get_main_queue
(),
^
{
[
weakSelf
goBackController
];
...
...
farm.xcworkspace/xcuserdata/mingjinli.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
View file @
3986359a
...
...
@@ -3,4 +3,22 @@
uuid =
"28FAD1AB-5A9D-4768-93A5-B3F5FCE13BA3"
type =
"0"
version =
"2.0"
>
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID =
"Xcode.Breakpoint.FileBreakpoint"
>
<BreakpointContent
uuid =
"71AC211B-8804-438F-8F24-6708336CDA23"
shouldBeEnabled =
"Yes"
ignoreCount =
"0"
continueAfterRunningActions =
"No"
filePath =
"GYDemo/GYDemo/ViewController/GYWebViewController.m"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"187"
endingLineNumber =
"187"
landmarkName =
"-userContentController:didReceiveScriptMessage:"
landmarkType =
"7"
>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
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