Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_EventReport
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
John Tai
2017-09-25 21:19:39 +0800
Commit
4e2afb68c06a9515e00b0c01ff6d96f5a0d07da8
1 parent
fef4d1ee
修改webview hook位置.reviewed by yuliang
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
YHEventReport/YHEventReport/YHEventReport/YH_AOP/UIWebView+AutoTrack.h
YHEventReport/YHEventReport/YHEventReport/YH_AOP/UIWebView+AutoTrack.m
YHEventReport/YHEventReport/YHEventReport/YH_AOP/UIWebView+AutoTrack.h
View file @
4e2afb6
...
...
@@ -11,5 +11,5 @@
@interface
UIWebView
(
AutoTrack
)
@
property
(
nonatomic
,
copy
)
NSString
*
yh_viewId
;
//该页面唯一ID
+
(
void
)
startTrack
;
@end
...
...
YHEventReport/YHEventReport/YHEventReport/YH_AOP/UIWebView+AutoTrack.m
View file @
4e2afb6
...
...
@@ -18,7 +18,7 @@
/*
todo 还需要处理setDelegate 没有调用的情况
**/
+(
void
)
load
{
+(
void
)
startTrack
{
static
dispatch_once_t
onceToken
;
dispatch_once
(
&
onceToken
,
^
{
@try
{
...
...
Please
register
or
login
to post a comment