Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
D
Dolphins
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
Dolphins
Commits
cea7aa3f
Commit
cea7aa3f
authored
Jul 30, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d45682c9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
208 additions
and
149 deletions
+208
-149
.DS_Store
.DS_Store
+0
-0
project.pbxproj
Dolphins.xcodeproj/project.pbxproj
+13
-21
launch1@2x.png
...ns/Assets.xcassets/launch/launch1.imageset/launch1@2x.png
+0
-0
launch1@3x.png
...ns/Assets.xcassets/launch/launch1.imageset/launch1@3x.png
+0
-0
Contents.json
...ins/Assets.xcassets/launch/launch2.imageset/Contents.json
+0
-22
launch2@2x.png
...ns/Assets.xcassets/launch/launch2.imageset/launch2@2x.png
+0
-0
launch2@3x.png
...ns/Assets.xcassets/launch/launch2.imageset/launch2@3x.png
+0
-0
Contents.json
...Assets.xcassets/launch/launch_icon.imageset/Contents.json
+1
-2
编组@3x.png
...ins/Assets.xcassets/launch/launch_icon.imageset/编组@3x.png
+0
-0
LaunchScreen.storyboard
Dolphins/Base.lproj/LaunchScreen.storyboard
+6
-18
ZJBaseCareViewController.m
Dolphins/Classes/Care/Controller/ZJBaseCareViewController.m
+29
-6
ZJTianJiaViewController.m
Dolphins/Classes/Care/Controller/ZJTianJiaViewController.m
+1
-1
ZJXiaoXiViewController.h
Dolphins/Classes/Care/Controller/ZJXiaoXiViewController.h
+2
-0
ZJXiaoXiViewController.m
Dolphins/Classes/Care/Controller/ZJXiaoXiViewController.m
+54
-22
ZJSystemMessageModel.h
Dolphins/Classes/Care/Model/ZJSystemMessageModel.h
+25
-0
ZJSystemMessageModel.m
Dolphins/Classes/Care/Model/ZJSystemMessageModel.m
+13
-0
ZJGoodsViewController.m
Dolphins/Classes/Goods/Controller/ZJGoodsViewController.m
+1
-1
ZJElectricalRemindVC.m
Dolphins/Classes/Guard/Controller/ZJElectricalRemindVC.m
+19
-4
ZJLocationAttentionVC.swift
...ins/Classes/LocationAttention/ZJLocationAttentionVC.swift
+3
-2
ZJAlertView.xib
Dolphins/Classes/LocationVC/View/ZJAlertView.xib
+2
-4
ZJLocationVC.xib
Dolphins/Classes/LocationVC/ZJLocationVC.xib
+6
-7
Protocol.m
Dolphins/Classes/Main/View/Protocol.m
+3
-3
ZJFriendTrackMapViewController.m
...s/Classes/Map/Controller/ZJFriendTrackMapViewController.m
+1
-1
ZJSettingViewController.m
Dolphins/Classes/Mine/Controller/ZJSettingViewController.m
+4
-4
ZJAddEmergencyContactView.m
Dolphins/Classes/Mine/View/ZJAddEmergencyContactView.m
+1
-1
LaunchScreenPlaceHolderView.xib
...lasses/Tools/LaunchScreen/LaunchScreenPlaceHolderView.xib
+6
-17
TQNetworkTools.h
Dolphins/Classes/Tools/Network/TQNetworkTools.h
+1
-0
TQNetworkTools.m
Dolphins/Classes/Tools/Network/TQNetworkTools.m
+3
-1
ResourceHeader.pch
Dolphins/Classes/Tools/PCH/ResourceHeader.pch
+1
-1
ZJUserInfoManager.m
Dolphins/Classes/Tools/UserInfoManager/ZJUserInfoManager.m
+2
-2
Dolphins.entitlements
Dolphins/Dolphins.entitlements
+3
-1
Info.plist
Dolphins/Info.plist
+8
-8
launch1@2x.png
Dolphins/launch1@2x.png
+0
-0
launch1@3x.png
Dolphins/launch1@3x.png
+0
-0
launch2@2x.png
Dolphins/launch2@2x.png
+0
-0
launch2@3x.png
Dolphins/launch2@3x.png
+0
-0
No files found.
.DS_Store
View file @
cea7aa3f
No preview for this file type
Dolphins.xcodeproj/project.pbxproj
View file @
cea7aa3f
This diff is collapsed.
Click to expand it.
Dolphins/Assets.xcassets/launch/launch1.imageset/launch1@2x.png
deleted
100644 → 0
View file @
d45682c9
28.7 KB
Dolphins/Assets.xcassets/launch/launch1.imageset/launch1@3x.png
deleted
100644 → 0
View file @
d45682c9
74 KB
Dolphins/Assets.xcassets/launch/launch2.imageset/Contents.json
deleted
100644 → 0
View file @
d45682c9
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"launch2@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"launch2@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Dolphins/Assets.xcassets/launch/launch2.imageset/launch2@2x.png
deleted
100644 → 0
View file @
d45682c9
322 KB
Dolphins/Assets.xcassets/launch/launch2.imageset/launch2@3x.png
deleted
100644 → 0
View file @
d45682c9
495 KB
Dolphins/Assets.xcassets/launch/launch
1
.imageset/Contents.json
→
Dolphins/Assets.xcassets/launch/launch
_icon
.imageset/Contents.json
View file @
cea7aa3f
...
@@ -5,12 +5,11 @@
...
@@ -5,12 +5,11 @@
"scale"
:
"1x"
"scale"
:
"1x"
},
},
{
{
"filename"
:
"launch1@2x.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
"scale"
:
"2x"
},
},
{
{
"filename"
:
"
launch1
@3x.png"
,
"filename"
:
"
编组
@3x.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
"scale"
:
"3x"
}
}
...
...
Dolphins/Assets.xcassets/launch/launch_icon.imageset/编组@3x.png
0 → 100644
View file @
cea7aa3f
34 KB
Dolphins/Base.lproj/LaunchScreen.storyboard
View file @
cea7aa3f
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"16097"
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=
"16097
.2
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
launchScreen=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
initialViewController=
"01J-lp-oVM"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
...
@@ -16,25 +16,14 @@
...
@@ -16,25 +16,14 @@
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"launch2"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2f0-Ky-54O"
>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"launch_icon"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"dC3-SO-tgb"
>
<rect
key=
"frame"
x=
"0.0"
y=
"347.5"
width=
"414"
height=
"548.5"
/>
<rect
key=
"frame"
x=
"146"
y=
"173.5"
width=
"122"
height=
"146"
/>
</imageView>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"launch1"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"QBu-ql-K1q"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"414"
height=
"303.5"
/>
<constraints>
<constraint
firstAttribute=
"width"
secondItem=
"QBu-ql-K1q"
secondAttribute=
"height"
multiplier=
"15:11"
id=
"Nv9-UH-cli"
/>
</constraints>
</imageView>
</imageView>
</subviews>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraints>
<constraint
firstItem=
"QBu-ql-K1q"
firstAttribute=
"leading"
secondItem=
"6Tk-OE-BBY"
secondAttribute=
"leading"
id=
"1Sf-lB-DMr"
/>
<constraint
firstItem=
"dC3-SO-tgb"
firstAttribute=
"centerY"
secondItem=
"Ze5-6b-2t3"
secondAttribute=
"centerY"
multiplier=
"0.55"
id=
"2Va-Mo-5Ql"
/>
<constraint
firstItem=
"2f0-Ky-54O"
firstAttribute=
"top"
secondItem=
"QBu-ql-K1q"
secondAttribute=
"bottom"
id=
"CvV-Lb-Of9"
/>
<constraint
firstItem=
"dC3-SO-tgb"
firstAttribute=
"centerX"
secondItem=
"Ze5-6b-2t3"
secondAttribute=
"centerX"
id=
"ssc-pU-r2l"
/>
<constraint
firstItem=
"QBu-ql-K1q"
firstAttribute=
"top"
secondItem=
"6Tk-OE-BBY"
secondAttribute=
"top"
id=
"EgB-et-jcz"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"2f0-Ky-54O"
secondAttribute=
"bottom"
id=
"JDQ-R5-K31"
/>
<constraint
firstItem=
"2f0-Ky-54O"
firstAttribute=
"leading"
secondItem=
"6Tk-OE-BBY"
secondAttribute=
"leading"
id=
"THF-M2-dGE"
/>
<constraint
firstItem=
"6Tk-OE-BBY"
firstAttribute=
"trailing"
secondItem=
"2f0-Ky-54O"
secondAttribute=
"trailing"
id=
"Yin-AY-LER"
/>
<constraint
firstItem=
"6Tk-OE-BBY"
firstAttribute=
"trailing"
secondItem=
"QBu-ql-K1q"
secondAttribute=
"trailing"
id=
"vOk-AG-Smp"
/>
</constraints>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"6Tk-OE-BBY"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"6Tk-OE-BBY"
/>
</view>
</view>
...
@@ -45,7 +34,6 @@
...
@@ -45,7 +34,6 @@
</scene>
</scene>
</scenes>
</scenes>
<resources>
<resources>
<image
name=
"launch1"
width=
"360"
height=
"263.5"
/>
<image
name=
"launch_icon"
width=
"122"
height=
"146"
/>
<image
name=
"launch2"
width=
"360"
height=
"376.5"
/>
</resources>
</resources>
</document>
</document>
Dolphins/Classes/Care/Controller/ZJBaseCareViewController.m
View file @
cea7aa3f
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
__block
int
count
;
__block
int
count
;
}
}
@property
(
nonatomic
,
assign
)
BOOL
newSystemMsg
;
@end
@end
#define refreshCount 30
#define refreshCount 30
...
@@ -88,7 +90,7 @@
...
@@ -88,7 +90,7 @@
break
;
break
;
}
}
}
else
{
}
else
{
[
AlertControllerTool
alertControllerWithTitle
:
@"定位服务未开启,请进入系统[设置]> [隐私] > [定位服务]中打开开关,并允许使用定位服务"
message
:
@"
知迹
绘制您的轨迹需要您开启定位服务"
cancelTitle
:
@"去设置"
cancelBlock
:^
{
[
AlertControllerTool
alertControllerWithTitle
:
@"定位服务未开启,请进入系统[设置]> [隐私] > [定位服务]中打开开关,并允许使用定位服务"
message
:
@"
海豚守护
绘制您的轨迹需要您开启定位服务"
cancelTitle
:
@"去设置"
cancelBlock
:^
{
NSURL
*
url
=
[
NSURL
URLWithString
:
UIApplicationOpenSettingsURLString
];
NSURL
*
url
=
[
NSURL
URLWithString
:
UIApplicationOpenSettingsURLString
];
...
@@ -316,6 +318,7 @@
...
@@ -316,6 +318,7 @@
}
}
[
MobClick
event
:
@"home_message_click"
];
[
MobClick
event
:
@"home_message_click"
];
ZJXiaoXiViewController
*
vc
=
[[
ZJXiaoXiViewController
alloc
]
init
];
ZJXiaoXiViewController
*
vc
=
[[
ZJXiaoXiViewController
alloc
]
init
];
vc
.
newSystemMsg
=
self
.
newSystemMsg
;
[
self
.
navigationController
pushViewController
:
vc
animated
:
YES
];
[
self
.
navigationController
pushViewController
:
vc
animated
:
YES
];
}
}
...
@@ -371,6 +374,24 @@
...
@@ -371,6 +374,24 @@
NSLog
(
@"失败"
);
NSLog
(
@"失败"
);
}];
}];
[[
TQNetworkTools
shared
]
getWithAction
:
userHasNewSystemMsg
parameters
:@{}
success
:^
(
id
_Nonnull
response
)
{
if
([[
response
objectForKey
:
@"status"
]
integerValue
]
==
200
){
NSString
*
has
=
[
NSString
stringWithFormat
:
@"%@"
,
[[[
response
objectForKey
:
@"result"
]
objectForKey
:
@"data"
]
objectForKey
:
@"has"
]];
if
(
has
&&
!
[
has
isEqualToString
:
@"0"
])
{
self
.
xiaoXiRedPoint
.
hidden
=
NO
;
self
.
newSystemMsg
=
YES
;
}
else
{
self
.
xiaoXiRedPoint
.
hidden
=
YES
;
}
}
else
{
[
MBProgressHUD
showError
:[
response
objectForKey
:
@"msg"
]
toView
:
self
.
view
];
}
}
failure
:^
(
NSError
*
_Nonnull
error
)
{
self
.
xiaoXiRedPoint
.
hidden
=
YES
;
NSLog
(
@"失败"
);
}];
}
}
#pragma mark 好友列表
#pragma mark 好友列表
...
@@ -470,10 +491,6 @@
...
@@ -470,10 +491,6 @@
// model.locationType 未知
// model.locationType 未知
model
.
time
=
[
self
currentDate
];
model
.
time
=
[
self
currentDate
];
NSDictionary
*
modelDic
=
[
model
dictionaryWithValuesForKeys
:@[
@"address"
,
@"city"
,
@"latitude"
,
@"longitude"
,
@"time"
]];
NSData
*
jsonData
=
[
NSJSONSerialization
dataWithJSONObject
:
modelDic
options
:
NSJSONWritingPrettyPrinted
error
:
nil
];
NSString
*
string
=
[[
NSString
alloc
]
initWithData
:
jsonData
encoding
:
NSUTF8StringEncoding
];
//电量
//电量
[
UIDevice
currentDevice
].
batteryMonitoringEnabled
=
YES
;
[
UIDevice
currentDevice
].
batteryMonitoringEnabled
=
YES
;
double
deviceLevel
=
[
UIDevice
currentDevice
].
batteryLevel
;
double
deviceLevel
=
[
UIDevice
currentDevice
].
batteryLevel
;
...
@@ -482,7 +499,13 @@
...
@@ -482,7 +499,13 @@
power
=
@"100"
;
//未识别
power
=
@"100"
;
//未识别
}
}
[[
TQNetworkTools
shared
]
postWithAction
:
syncLocationDataLast
parameters
:@{
@"LocationSyncData"
:
string
,
@"power"
:
power
}
success
:^
(
id
_Nonnull
response
)
{
NSMutableDictionary
*
modelDic
=
[
model
dictionaryWithValuesForKeys
:@[
@"address"
,
@"city"
,
@"latitude"
,
@"longitude"
,
@"time"
]].
mutableCopy
;
[
modelDic
setDictionary
:@{
@"power"
:
power
}];
NSData
*
jsonData
=
[
NSJSONSerialization
dataWithJSONObject
:
modelDic
options
:
NSJSONWritingPrettyPrinted
error
:
nil
];
NSString
*
string
=
[[
NSString
alloc
]
initWithData
:
jsonData
encoding
:
NSUTF8StringEncoding
];
[[
TQNetworkTools
shared
]
postWithAction
:
syncLocationDataLast
parameters
:@{
@"LocationSyncData"
:
string
}
success
:^
(
id
_Nonnull
response
)
{
NSString
*
result
=
[[
NSString
alloc
]
initWithData
:
response
NSString
*
result
=
[[
NSString
alloc
]
initWithData
:
response
encoding
:
NSUTF8StringEncoding
];
encoding
:
NSUTF8StringEncoding
];
...
...
Dolphins/Classes/Care/Controller/ZJTianJiaViewController.m
View file @
cea7aa3f
...
@@ -608,7 +608,7 @@
...
@@ -608,7 +608,7 @@
-
(
void
)
showAlertViewAboutNotAuthorAccessContact
{
-
(
void
)
showAlertViewAboutNotAuthorAccessContact
{
[
AlertControllerTool
alertControllerWithTitle
:
@"请授权通讯录权限"
message
:
@"请在iPhone的
\"
设置-隐私-通讯录
\"
选项中,允许
知迹
访问你的通讯录"
cancelTitle
:
@"好的"
cancelBlock
:
nil
finishBlock
:
nil
];
[
AlertControllerTool
alertControllerWithTitle
:
@"请授权通讯录权限"
message
:
@"请在iPhone的
\"
设置-隐私-通讯录
\"
选项中,允许
海豚守护
访问你的通讯录"
cancelTitle
:
@"好的"
cancelBlock
:
nil
finishBlock
:
nil
];
}
}
-
(
void
)
openContact
{
-
(
void
)
openContact
{
...
...
Dolphins/Classes/Care/Controller/ZJXiaoXiViewController.h
View file @
cea7aa3f
...
@@ -12,6 +12,8 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -12,6 +12,8 @@ NS_ASSUME_NONNULL_BEGIN
@interface
ZJXiaoXiViewController
:
ZJBaseViewController
@interface
ZJXiaoXiViewController
:
ZJBaseViewController
@property
(
nonatomic
,
assign
)
BOOL
newSystemMsg
;
@end
@end
NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_END
Dolphins/Classes/Care/Controller/ZJXiaoXiViewController.m
View file @
cea7aa3f
...
@@ -13,16 +13,25 @@
...
@@ -13,16 +13,25 @@
#import "ZJUserInfoManager.h"
#import "ZJUserInfoManager.h"
#import "ZJFriendMessageModel.h"
#import "ZJFriendMessageModel.h"
#import "ZJUserInfoManager.h"
#import "ZJUserInfoManager.h"
#import "ZJSystemMessageCell.h"
#import "ZJSystemMessageModel.h"
typedef
enum
:
NSUInteger
{
DGSystemMsgType
,
DGFriendMsgType
,
}
DGMsgType
;
@interface
ZJXiaoXiViewController
()
<
UITableViewDataSource
,
UITableViewDelegate
>
@interface
ZJXiaoXiViewController
()
<
UITableViewDataSource
,
UITableViewDelegate
>
@property
(
nonatomic
,
strong
)
ZJXiaoxiView
*
xiaoXiView
;
@property
(
nonatomic
,
strong
)
ZJXiaoxiView
*
xiaoXiView
;
@property
(
nonatomic
,
strong
)
NSMutableArray
<
ZJFriendMessageModel
*>
*
dataArray
;
@property
(
nonatomic
,
strong
)
NSMutableArray
<
ZJFriendMessageModel
*>
*
dataArray
;
@property
(
nonatomic
,
strong
)
NSMutableArray
<
ZJ
Friend
MessageModel
*>
*
systemDataArray
;
@property
(
nonatomic
,
strong
)
NSMutableArray
<
ZJ
System
MessageModel
*>
*
systemDataArray
;
@property
(
nonatomic
,
strong
)
NSMutableArray
*
currentDataArray
;
@property
(
nonatomic
,
strong
)
NSMutableArray
*
currentDataArray
;
@property
(
nonatomic
,
strong
)
ZJBasetableView
*
xiaoXiTableView
;
@property
(
nonatomic
,
strong
)
ZJBasetableView
*
xiaoXiTableView
;
@property
(
nonatomic
,
strong
)
UIView
*
lineView
;
@property
(
nonatomic
,
strong
)
UIView
*
lineView
;
@property
(
nonatomic
,
assign
)
DGMsgType
msgType
;
@end
@end
static
NSString
*
ID
=
@"xiaoXi"
;
static
NSString
*
ID
=
@"xiaoXi"
;
...
@@ -39,6 +48,7 @@ static NSString *ID = @"xiaoXi";
...
@@ -39,6 +48,7 @@ static NSString *ID = @"xiaoXi";
self
.
navigationItem
.
title
=
@"消息"
;
self
.
navigationItem
.
title
=
@"消息"
;
self
.
view
.
backgroundColor
=
[
UIColor
whiteColor
];
self
.
view
.
backgroundColor
=
[
UIColor
whiteColor
];
_msgType
=
DGFriendMsgType
;
[
self
setUI
];
[
self
setUI
];
[
self
loadData
];
[
self
loadData
];
[
self
userMsgRead
];
[
self
userMsgRead
];
...
@@ -77,7 +87,7 @@ static NSString *ID = @"xiaoXi";
...
@@ -77,7 +87,7 @@ static NSString *ID = @"xiaoXi";
for
(
NSDictionary
*
dic
in
response
[
@"result"
][
@"data"
])
{
for
(
NSDictionary
*
dic
in
response
[
@"result"
][
@"data"
])
{
ZJ
FriendMessageModel
*
model
=
[[
ZJFriend
MessageModel
alloc
]
init
];
ZJ
SystemMessageModel
*
model
=
[[
ZJSystem
MessageModel
alloc
]
init
];
[
model
setValuesForKeysWithDictionary
:
dic
];
[
model
setValuesForKeysWithDictionary
:
dic
];
[
self
.
systemDataArray
addObject
:
model
];
[
self
.
systemDataArray
addObject
:
model
];
}
}
...
@@ -111,7 +121,7 @@ static NSString *ID = @"xiaoXi";
...
@@ -111,7 +121,7 @@ static NSString *ID = @"xiaoXi";
NSArray
*
segmentedArray
=
[
NSArray
arrayWithObjects
:
@"好友申请"
,
@"系统通知"
,
nil
];
NSArray
*
segmentedArray
=
[
NSArray
arrayWithObjects
:
@"好友申请"
,
@"系统通知"
,
nil
];
UIButton
*
button
;
UIButton
*
button
;
for
(
int
count
=
0
;
count
<
2
;
count
++
)
{
for
(
int
count
=
0
;
count
<
segmentedArray
.
count
;
count
++
)
{
UIButton
*
btn
=
[[
UIButton
alloc
]
initWithFrame
:
CGRectMake
(
0
+
count
*
116
,
6
,
116
,
30
)];
UIButton
*
btn
=
[[
UIButton
alloc
]
initWithFrame
:
CGRectMake
(
0
+
count
*
116
,
6
,
116
,
30
)];
// [btn setTitle:segmentedArray[count] forState:(UIControlStateNormal)];
// [btn setTitle:segmentedArray[count] forState:(UIControlStateNormal)];
// [btn setTitleColor:kColorWithRGB(34, 34, 34) forState:UIControlStateNormal];
// [btn setTitleColor:kColorWithRGB(34, 34, 34) forState:UIControlStateNormal];
...
@@ -134,6 +144,9 @@ static NSString *ID = @"xiaoXi";
...
@@ -134,6 +144,9 @@ static NSString *ID = @"xiaoXi";
[
btn
addSubview
:
point
];
[
btn
addSubview
:
point
];
point
.
tag
=
0xc8
+
count
;
point
.
tag
=
0xc8
+
count
;
point
.
hidden
=
YES
;
point
.
hidden
=
YES
;
if
(
self
.
newSystemMsg
&&
count
==
segmentedArray
.
count
-
1
)
{
point
.
hidden
=
NO
;
}
}
}
_lineView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
segmentBgView
.
frame
.
size
.
width
/
8
,
CGRectGetMaxY
(
button
.
frame
),
segmentBgView
.
frame
.
size
.
width
/
4
,
2
)];
_lineView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
segmentBgView
.
frame
.
size
.
width
/
8
,
CGRectGetMaxY
(
button
.
frame
),
segmentBgView
.
frame
.
size
.
width
/
4
,
2
)];
...
@@ -152,8 +165,10 @@ static NSString *ID = @"xiaoXi";
...
@@ -152,8 +165,10 @@ static NSString *ID = @"xiaoXi";
point
.
hidden
=
YES
;
point
.
hidden
=
YES
;
if
(
sender
.
tag
-
0x64
==
0
)
{
if
(
sender
.
tag
-
0x64
==
0
)
{
_msgType
=
DGFriendMsgType
;
_currentDataArray
=
self
.
dataArray
;
_currentDataArray
=
self
.
dataArray
;
}
else
{
}
else
{
_msgType
=
DGSystemMsgType
;
_currentDataArray
=
self
.
systemDataArray
;
_currentDataArray
=
self
.
systemDataArray
;
}
}
[
self
.
xiaoXiTableView
reloadData
];
[
self
.
xiaoXiTableView
reloadData
];
...
@@ -164,6 +179,9 @@ static NSString *ID = @"xiaoXi";
...
@@ -164,6 +179,9 @@ static NSString *ID = @"xiaoXi";
}
}
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
UITableViewCell
*
cell
;
if
(
_msgType
==
DGFriendMsgType
)
{
ZJXiaoXiTableViewCell
*
xiaoXiCell
=
[
tableView
dequeueReusableCellWithIdentifier
:
ID
forIndexPath
:
indexPath
];
ZJXiaoXiTableViewCell
*
xiaoXiCell
=
[
tableView
dequeueReusableCellWithIdentifier
:
ID
forIndexPath
:
indexPath
];
xiaoXiCell
.
model
=
self
.
currentDataArray
[
indexPath
.
row
];
xiaoXiCell
.
model
=
self
.
currentDataArray
[
indexPath
.
row
];
...
@@ -186,9 +204,23 @@ static NSString *ID = @"xiaoXi";
...
@@ -186,9 +204,23 @@ static NSString *ID = @"xiaoXi";
};
};
};
};
cell
=
xiaoXiCell
;
}
else
{
ZJSystemMessageModel
*
model
=
self
.
currentDataArray
[
indexPath
.
row
];
ZJSystemMessageCell
*
systemCell
=
[
tableView
dequeueReusableCellWithIdentifier
:
@"ZJSystemMessageCell"
forIndexPath
:
indexPath
];
[
systemCell
.
headerImV
sd_setImageWithURL
:[
NSURL
URLWithString
:
model
.
iconUrl
]];
systemCell
.
titleLab
.
text
=
model
.
remindUser
;
systemCell
.
timeLab
.
text
=
model
.
createdAt
;
systemCell
.
desLab
.
text
=
model
.
remark
;
cell
=
systemCell
;
}
xiaoXiC
ell
.
selectionStyle
=
UITableViewCellSelectionStyleNone
;
c
ell
.
selectionStyle
=
UITableViewCellSelectionStyleNone
;
return
xiaoXiC
ell
;
return
c
ell
;
}
}
#pragma mark 同意好友邀请 acceptBtn
#pragma mark 同意好友邀请 acceptBtn
...
...
Dolphins/Classes/Care/Model/ZJSystemMessageModel.h
0 → 100644
View file @
cea7aa3f
//
// ZJSystemMessageModel.h
// Dolphins
//
// Created by 明津李 on 2020/7/30.
// Copyright © 2020 Company. All rights reserved.
//
#import "BaseModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface
ZJSystemMessageModel
:
BaseModel
@property
(
nonatomic
,
copy
)
NSString
*
createdAt
;
@property
(
nonatomic
,
copy
)
NSString
*
iconUrl
;
@property
(
nonatomic
,
copy
)
NSString
*
id
;
@property
(
nonatomic
,
copy
)
NSString
*
remark
;
@property
(
nonatomic
,
copy
)
NSString
*
remindName
;
@property
(
nonatomic
,
copy
)
NSString
*
remindUser
;
@property
(
nonatomic
,
copy
)
NSString
*
uid
;
@end
NS_ASSUME_NONNULL_END
Dolphins/Classes/Care/Model/ZJSystemMessageModel.m
0 → 100644
View file @
cea7aa3f
//
// ZJSystemMessageModel.m
// Dolphins
//
// Created by 明津李 on 2020/7/30.
// Copyright © 2020 Company. All rights reserved.
//
#import "ZJSystemMessageModel.h"
@implementation
ZJSystemMessageModel
@end
Dolphins/Classes/Goods/Controller/ZJGoodsViewController.m
View file @
cea7aa3f
...
@@ -277,7 +277,7 @@
...
@@ -277,7 +277,7 @@
self
.
tongYButton
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
self
.
tongYButton
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
// self.tongYButton.backgroundColor = [UIColor redColor];
// self.tongYButton.backgroundColor = [UIColor redColor];
self
.
tongYButton
.
contentHorizontalAlignment
=
UIControlContentHorizontalAlignmentLeft
;
self
.
tongYButton
.
contentHorizontalAlignment
=
UIControlContentHorizontalAlignmentLeft
;
[
self
.
tongYButton
setTitle
:
@"购买前请先阅读并同意《
知迹
付费会员服务协议》"
forState
:
0
];
[
self
.
tongYButton
setTitle
:
@"购买前请先阅读并同意《
海豚守护
付费会员服务协议》"
forState
:
0
];
[
self
.
tongYButton
setTitleColor
:[
UIColor
colorWithHex
:
0x666666
]
forState
:
UIControlStateNormal
];
[
self
.
tongYButton
setTitleColor
:[
UIColor
colorWithHex
:
0x666666
]
forState
:
UIControlStateNormal
];
[
self
.
tongYButton
.
titleLabel
setFont
:[
UIFont
systemFontOfSize
:
KFont
(
13
)]];
[
self
.
tongYButton
.
titleLabel
setFont
:[
UIFont
systemFontOfSize
:
KFont
(
13
)]];
[
self
.
beiJingView
addSubview
:
self
.
tongYButton
];
[
self
.
beiJingView
addSubview
:
self
.
tongYButton
];
...
...
Dolphins/Classes/Guard/Controller/ZJElectricalRemindVC.m
View file @
cea7aa3f
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
_tableView
.
separatorStyle
=
UITableViewCellSeparatorStyleNone
;
_tableView
.
separatorStyle
=
UITableViewCellSeparatorStyleNone
;
_tableView
.
tableFooterView
=
[
UIView
new
];
_tableView
.
tableFooterView
=
[
UIView
new
];
[
_tableView
registerNib
:[
UINib
nibWithNibName
:
@"ZJCoulometricRemindCell"
bundle
:
nil
]
forCellReuseIdentifier
:
@"ZJCoulometricRemindCell"
];
[
_tableView
registerNib
:[
UINib
nibWithNibName
:
@"ZJCoulometricRemindCell"
bundle
:
nil
]
forCellReuseIdentifier
:
@"ZJCoulometricRemindCell"
];
}
}
-
(
void
)
getDataSource
{
-
(
void
)
getDataSource
{
...
@@ -86,23 +87,37 @@
...
@@ -86,23 +87,37 @@
sender
.
selected
=
!
sender
.
selected
;
sender
.
selected
=
!
sender
.
selected
;
ZJElectricalModel
*
model
=
self
.
friendDataSource
[
sender
.
tag
-
0x64
];
ZJElectricalModel
*
model
=
self
.
friendDataSource
[
sender
.
tag
-
0x64
];
[[
TQNetworkTools
shared
]
postWithAction
:
userRemindInfoSet
parameters
:@{
@"typeId"
:
@"1"
,
@"status"
:
sender
.
selected
?
@"1"
:
@"0"
,
@"friendId"
:
[
NSString
stringWithFormat
:
@"%ld"
,
(
long
)
model
.
friendId
],
@"id"
:
[
NSString
stringWithFormat
:
@"%ld"
,
(
long
)
model
.
id
]}
success
:^
(
id
_Nonnull
response
)
{
NSMutableDictionary
*
modelDic
=
@{
@"typeId"
:
@1
,
@"status"
:
sender
.
selected
?
@1
:
@0
,
@"friendId"
:
@
(
model
.
friendId
),
@"id"
:
@
(
model
.
id
)}.
mutableCopy
;
NSData
*
jsonData
=
[
NSJSONSerialization
dataWithJSONObject
:
modelDic
options
:
NSJSONWritingPrettyPrinted
error
:
nil
];
NSString
*
string
=
[[
NSString
alloc
]
initWithData
:
jsonData
encoding
:
NSUTF8StringEncoding
];
[[
TQNetworkTools
shared
]
postWithAction
:
userRemindInfoSet
parameters
:@{
@""
:
string
}
success
:^
(
id
_Nonnull
response
)
{
NSString
*
result
=
[[
NSString
alloc
]
initWithData
:
response
NSString
*
result
=
[[
NSString
alloc
]
initWithData
:
response
encoding
:
NSUTF8StringEncoding
];
encoding
:
NSUTF8StringEncoding
];
NSData
*
data
=
[
result
dataUsingEncoding
:
NSUTF8StringEncoding
];
NSData
*
data
=
[
result
dataUsingEncoding
:
NSUTF8StringEncoding
];
NSDictionary
*
responseDict
=
[
NSJSONSerialization
JSONObjectWithData
:
data
options
:
NSJSONReadingMutableContainers
error
:
nil
];
NSDictionary
*
responseDict
=
[
NSJSONSerialization
JSONObjectWithData
:
data
options
:
NSJSONReadingMutableContainers
error
:
nil
];
ZJCoulometricRemindCell
*
cell
=
[
self
.
tableView
cellForRowAtIndexPath
:[
NSIndexPath
indexPathForRow
:
sender
.
tag
-
0x64
inSection
:
0
]];
if
([[
responseDict
objectForKey
:
@"status"
]
integerValue
]
==
200
){
if
([[
responseDict
objectForKey
:
@"status"
]
integerValue
]
==
200
){
NSLog
(
@"success"
);
NSLog
(
@"success"
);
if
(
sender
.
selected
)
{
[
MBProgressHUD
showSuccess
:
@"低电量提醒已开启"
];
cell
.
remindLab
.
text
=
@"已设置提醒"
;
model
.
status
=
1
;
}
else
{
}
else
{
[
MBProgressHUD
showSuccess
:
@"低电量提醒已关闭"
];
cell
.
remindLab
.
text
=
@"未设置提醒"
;
model
.
status
=
0
;
}
}
else
{
[
MBProgressHUD
showError
:[
responseDict
objectForKey
:
@"msg"
]];
}
}
}
failure
:^
(
NSError
*
_Nonnull
error
)
{
}
failure
:^
(
NSError
*
_Nonnull
error
)
{
[
MBProgressHUD
showError
:
@"请稍后再试"
];
}];
}];
}
}
#pragma mark tableView delegate
#pragma mark tableView delegate
...
...
Dolphins/Classes/LocationAttention/ZJLocationAttentionVC.swift
View file @
cea7aa3f
...
@@ -69,7 +69,7 @@ class ZJLocationAttentionVC: BaseViewController {
...
@@ -69,7 +69,7 @@ class ZJLocationAttentionVC: BaseViewController {
self
.
locationTableView
.
dataSource
=
self
self
.
locationTableView
.
dataSource
=
self
// maskBgView.isHidden = currentFriendModel != nil
// maskBgView.isHidden = currentFriendModel != nil
maskBgView
.
isHidden
=
self
.
locationRemindDataSource
.
count
!=
0
maskBgView
.
isHidden
=
true
addLongPres
()
addLongPres
()
}
}
...
@@ -357,9 +357,10 @@ extension ZJLocationAttentionVC {
...
@@ -357,9 +357,10 @@ extension ZJLocationAttentionVC {
}
}
self
.
currentFriendModel
=
self
.
headerFriendsDataSource
?
.
first
self
.
currentFriendModel
=
self
.
headerFriendsDataSource
?
.
first
self
.
updataUI
()
if
self
.
currentFriendModel
!=
nil
{
if
self
.
currentFriendModel
!=
nil
{
self
.
getSingleFriendLocationRemindList
(
self
.
currentFriendModel
)
self
.
getSingleFriendLocationRemindList
(
self
.
currentFriendModel
)
}
else
{
self
.
updataUI
()
}
}
}
else
{
}
else
{
...
...
Dolphins/Classes/LocationVC/View/ZJAlertView.xib
View file @
cea7aa3f
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097.2"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"16087"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"16087"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
...
@@ -26,7 +24,7 @@
...
@@ -26,7 +24,7 @@
<color
key=
"textColor"
white=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<color
key=
"textColor"
white=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"请确定对方是否授权
知迹
位置权限"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"RiW-bm-Ym2"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"请确定对方是否授权
海豚守护
位置权限"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"RiW-bm-Ym2"
>
<rect
key=
"frame"
x=
"0.0"
y=
"63"
width=
"342"
height=
"17"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"63"
width=
"342"
height=
"17"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"medium"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"medium"
pointSize=
"14"
/>
<color
key=
"textColor"
white=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<color
key=
"textColor"
white=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
...
...
Dolphins/Classes/LocationVC/ZJLocationVC.xib
View file @
cea7aa3f
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097.2"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<dependencies>
<deployment
version=
"4368"
identifier=
"iOS"
/>
<deployment
version=
"4368"
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"16087"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"16087"
/>
...
@@ -20,12 +19,12 @@
...
@@ -20,12 +19,12 @@
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"74Z-43-LHV"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"74Z-43-LHV"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
44"
width=
"414"
height=
"818
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
0.0"
width=
"414"
height=
"896
"
/>
<subviews>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"fSh-sX-R0o"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"fSh-sX-R0o"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"36"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"36"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"为了您能更好地体验
知迹
App,请进行以下设置:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontForContentSizeCategory=
"YES"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"57c-sW-NKG"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"为了您能更好地体验
海豚守护
App,请进行以下设置:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontForContentSizeCategory=
"YES"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"57c-sW-NKG"
>
<rect
key=
"frame"
x=
"14.5"
y=
"0.0"
width=
"399.5"
height=
"36"
/>
<rect
key=
"frame"
x=
"14.5"
y=
"0.0"
width=
"399.5"
height=
"36"
/>
<color
key=
"backgroundColor"
red=
"0.67183357480000006"
green=
"0.73134952779999995"
blue=
"0.8706133962"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"displayP3"
/>
<color
key=
"backgroundColor"
red=
"0.67183357480000006"
green=
"0.73134952779999995"
blue=
"0.8706133962"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"displayP3"
/>
<constraints>
<constraints>
...
@@ -46,8 +45,8 @@
...
@@ -46,8 +45,8 @@
<constraint
firstAttribute=
"height"
constant=
"36"
id=
"mGl-Xg-BFq"
/>
<constraint
firstAttribute=
"height"
constant=
"36"
id=
"mGl-Xg-BFq"
/>
</constraints>
</constraints>
</view>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"确认对方没有删除
知迹
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"FTA-M6-PwX"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"确认对方没有删除
海豚守护
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"FTA-M6-PwX"
>
<rect
key=
"frame"
x=
"14.5"
y=
"65"
width=
"
183
.5"
height=
"21"
/>
<rect
key=
"frame"
x=
"14.5"
y=
"65"
width=
"
220
.5"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"18"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"18"
/>
<nil
key=
"textColor"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
...
@@ -87,7 +86,7 @@ mbsK5b2VAw
...
@@ -87,7 +86,7 @@ mbsK5b2VAw
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"46g-dc-NS9"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"46g-dc-NS9"
>
<rect
key=
"frame"
x=
"14.5"
y=
"194"
width=
"324.5"
height=
"33.5"
/>
<rect
key=
"frame"
x=
"14.5"
y=
"194"
width=
"324.5"
height=
"33.5"
/>
<string
key=
"text"
>
如果Ta关闭了位置权限,请让Ta前往设置
>
权限管理
<string
key=
"text"
>
如果Ta关闭了位置权限,请让Ta前往设置
>
权限管理
>
知迹
里开启位置权限。
</string>
>
海豚守护
里开启位置权限。
</string>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.40000000000000002"
green=
"0.40000000000000002"
blue=
"0.40000000000000002"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.40000000000000002"
green=
"0.40000000000000002"
blue=
"0.40000000000000002"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
...
...
Dolphins/Classes/Main/View/Protocol.m
View file @
cea7aa3f
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
//neiRongLabel
//neiRongLabel
NSString
*
str
=
@"
知迹APP需要双方安装并加好友授权同意,APP付费方即可时刻关注对方的位置信息。
\n
注册为知迹
会员或接受付费会员的好友邀请意味着 您将向平台和该付费会员提供地理位置,行为轨迹,高度等隐私信息。您正在使用的产品/服务及其功能将会收集、储存和使用您的相关信息,包括但不限于您的GPS定位、设备信息、手机通讯录等,您将受到《用户协议》和《隐私政策》的约束。您点击类似“同意并继续”按钮后或进行主动勾选同 义本协议等操作后,即表示您充分理解隐私政策内 容以及上述描述,并已同意授权平台按照隐私政策 内容合法收集、储存和使用您的个人信息。为保护 您的合法权益,请认真阅读并充分理解《隐私政策》内容。"
;
NSString
*
str
=
@"
海豚守护APP需要双方安装并加好友授权同意,APP付费方即可时刻关注对方的位置信息。
\n
注册为海豚守护
会员或接受付费会员的好友邀请意味着 您将向平台和该付费会员提供地理位置,行为轨迹,高度等隐私信息。您正在使用的产品/服务及其功能将会收集、储存和使用您的相关信息,包括但不限于您的GPS定位、设备信息、手机通讯录等,您将受到《用户协议》和《隐私政策》的约束。您点击类似“同意并继续”按钮后或进行主动勾选同 义本协议等操作后,即表示您充分理解隐私政策内 容以及上述描述,并已同意授权平台按照隐私政策 内容合法收集、储存和使用您的个人信息。为保护 您的合法权益,请认真阅读并充分理解《隐私政策》内容。"
;
_neiRongLabel
=
[
UILabel
labelWithtext
:
str
font
:[
UIFont
systemFontOfSize
:
KFont
(
13
)]
textColor
:
[
UIColor
colorWithHex
:
0x333333
]
alignment
:
NSTextAlignmentLeft
];
_neiRongLabel
=
[
UILabel
labelWithtext
:
str
font
:[
UIFont
systemFontOfSize
:
KFont
(
13
)]
textColor
:
[
UIColor
colorWithHex
:
0x333333
]
alignment
:
NSTextAlignmentLeft
];
//设置行间距
//设置行间距
...
@@ -84,8 +84,8 @@
...
@@ -84,8 +84,8 @@
_textView
=
[[
UITextView
alloc
]
initWithFrame
:
CGRectMake
(
10
,
100
,
400
,
100
)];
_textView
=
[[
UITextView
alloc
]
initWithFrame
:
CGRectMake
(
10
,
100
,
400
,
100
)];
[
_bgView
addSubview
:
_textView
];
[
_bgView
addSubview
:
_textView
];
NSString
*
text1
=
@"阅读完整版"
;
NSString
*
text1
=
@"阅读完整版"
;
NSString
*
text2
=
@"《
知迹
隐私协议》"
;
NSString
*
text2
=
@"《
海豚守护
隐私协议》"
;
NSString
*
text3
=
@"《
知迹
用户协议》"
;
NSString
*
text3
=
@"《
海豚守护
用户协议》"
;
NSString
*
text4
=
@"了解全部内容"
;
NSString
*
text4
=
@"了解全部内容"
;
NSMutableAttributedString
*
attributeStr1
=
[[
NSMutableAttributedString
alloc
]
initWithString
:[
NSString
stringWithFormat
:
@"%@%@和%@%@"
,
text1
,
text2
,
text3
,
text4
]];
NSMutableAttributedString
*
attributeStr1
=
[[
NSMutableAttributedString
alloc
]
initWithString
:[
NSString
stringWithFormat
:
@"%@%@和%@%@"
,
text1
,
text2
,
text3
,
text4
]];
...
...
Dolphins/Classes/Map/Controller/ZJFriendTrackMapViewController.m
View file @
cea7aa3f
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
self
.
alertView
.
alertSubtitle
.
text
=
@"请查看其它时段或稍等几分钟"
;
self
.
alertView
.
alertSubtitle
.
text
=
@"请查看其它时段或稍等几分钟"
;
}
else
{
}
else
{
self
.
alertView
.
alertTitle
.
text
=
@"对方该时间段未收录位置信息"
;
self
.
alertView
.
alertTitle
.
text
=
@"对方该时间段未收录位置信息"
;
self
.
alertView
.
alertSubtitle
.
text
=
@"请确定对方是否授权
知迹
位置权限"
;
self
.
alertView
.
alertSubtitle
.
text
=
@"请确定对方是否授权
海豚守护
位置权限"
;
}
}
...
...
Dolphins/Classes/Mine/Controller/ZJSettingViewController.m
View file @
cea7aa3f
...
@@ -105,14 +105,14 @@
...
@@ -105,14 +105,14 @@
if
(
!
[
ZJUserInfoManager
shared
].
isLogin
)
{
if
(
!
[
ZJUserInfoManager
shared
].
isLogin
)
{
_dataSource
=
@[
@"版本检测"
,
_dataSource
=
@[
@"版本检测"
,
@"隐私政策"
,
@"隐私政策"
,
@"
知迹
用户协议"
,
@"
海豚守护
用户协议"
,
@"
知迹
用户付费协议"
,
@"
海豚守护
用户付费协议"
,
];
];
}
else
{
}
else
{
_dataSource
=
@[
@"版本检测"
,
_dataSource
=
@[
@"版本检测"
,
@"隐私政策"
,
@"隐私政策"
,
@"
知迹
用户协议"
,
@"
海豚守护
用户协议"
,
@"
知迹
用户付费协议"
,
@"
海豚守护
用户付费协议"
,
@"注销账户"
@"注销账户"
];
];
}
}
...
...
Dolphins/Classes/Mine/View/ZJAddEmergencyContactView.m
View file @
cea7aa3f
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
-
(
void
)
showAlertViewAboutNotAuthorAccessContact
{
-
(
void
)
showAlertViewAboutNotAuthorAccessContact
{
[
AlertControllerTool
alertControllerWithTitle
:
@"请授权通讯录权限"
message
:
@"请在iPhone的
\"
设置-隐私-通讯录
\"
选项中,允许
知迹
访问你的通讯录"
cancelTitle
:
@"好的"
cancelBlock
:
nil
finishBlock
:
nil
];
[
AlertControllerTool
alertControllerWithTitle
:
@"请授权通讯录权限"
message
:
@"请在iPhone的
\"
设置-隐私-通讯录
\"
选项中,允许
海豚守护
访问你的通讯录"
cancelTitle
:
@"好的"
cancelBlock
:
nil
finishBlock
:
nil
];
}
}
-
(
void
)
openContact
{
-
(
void
)
openContact
{
...
...
Dolphins/Classes/Tools/LaunchScreen/LaunchScreenPlaceHolderView.xib
View file @
cea7aa3f
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097
.2
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
...
@@ -14,31 +14,20 @@
...
@@ -14,31 +14,20 @@
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"launch1"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"0DC-DF-t9u"
>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"launch_icon"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Z3I-sh-qPI"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"414"
height=
"303.5"
/>
<rect
key=
"frame"
x=
"146"
y=
"173.5"
width=
"122"
height=
"146"
/>
</imageView>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"launch2"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ODD-qe-EdO"
>
<rect
key=
"frame"
x=
"0.0"
y=
"347.5"
width=
"414"
height=
"514.5"
/>
</imageView>
</imageView>
</subviews>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraints>
<constraint
firstItem=
"ODD-qe-EdO"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
id=
"6oN-nm-Ffe"
/>
<constraint
firstItem=
"Z3I-sh-qPI"
firstAttribute=
"centerX"
secondItem=
"iN0-l3-epB"
secondAttribute=
"centerX"
id=
"RWp-yG-pPE"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ODD-qe-EdO"
secondAttribute=
"trailing"
id=
"KeZ-Dh-SCb"
/>
<constraint
firstItem=
"Z3I-sh-qPI"
firstAttribute=
"centerY"
secondItem=
"iN0-l3-epB"
secondAttribute=
"centerY"
multiplier=
"0.55"
id=
"hsl-Hi-mKr"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"bottom"
secondItem=
"ODD-qe-EdO"
secondAttribute=
"bottom"
id=
"Rvt-Yk-hGZ"
/>
<constraint
firstItem=
"0DC-DF-t9u"
firstAttribute=
"leading"
secondItem=
"iN0-l3-epB"
secondAttribute=
"leading"
id=
"UdZ-we-gM3"
/>
<constraint
firstItem=
"ODD-qe-EdO"
firstAttribute=
"top"
secondItem=
"0DC-DF-t9u"
secondAttribute=
"bottom"
id=
"Ys1-C5-RRp"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"0DC-DF-t9u"
secondAttribute=
"trailing"
id=
"bbK-ie-b6j"
/>
<constraint
firstItem=
"0DC-DF-t9u"
firstAttribute=
"width"
secondItem=
"0DC-DF-t9u"
secondAttribute=
"height"
multiplier=
"15:11"
id=
"gmu-89-LAK"
/>
<constraint
firstItem=
"0DC-DF-t9u"
firstAttribute=
"top"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"top"
id=
"hL8-DH-5uB"
/>
<constraint
firstItem=
"ODD-qe-EdO"
firstAttribute=
"top"
secondItem=
"0DC-DF-t9u"
secondAttribute=
"bottom"
id=
"xvf-lx-ufF"
/>
</constraints>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"vUN-kp-3ea"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"vUN-kp-3ea"
/>
<point
key=
"canvasLocation"
x=
"139"
y=
"90"
/>
<point
key=
"canvasLocation"
x=
"139"
y=
"90"
/>
</view>
</view>
</objects>
</objects>
<resources>
<resources>
<image
name=
"launch1"
width=
"360"
height=
"263.5"
/>
<image
name=
"launch_icon"
width=
"122"
height=
"146"
/>
<image
name=
"launch2"
width=
"360"
height=
"376.5"
/>
</resources>
</resources>
</document>
</document>
Dolphins/Classes/Tools/Network/TQNetworkTools.h
View file @
cea7aa3f
...
@@ -37,6 +37,7 @@ typedef enum : NSUInteger {
...
@@ -37,6 +37,7 @@ typedef enum : NSUInteger {
payVoucherList
,
// 获取代金券列表
payVoucherList
,
// 获取代金券列表
userFind
,
// 根据手机号查询用户状态 , 0-未注册 1-已注册 2-是自己 3-已经是好友
userFind
,
// 根据手机号查询用户状态 , 0-未注册 1-已注册 2-是自己 3-已经是好友
userHasNewMsg
,
// 查询用户是否有新消息
userHasNewMsg
,
// 查询用户是否有新消息
userHasNewSystemMsg
,
// 查询用户是否有新系统消息
userInfo
,
// 查询用户信息
userInfo
,
// 查询用户信息
userPayConfig
,
// 支付配置
userPayConfig
,
// 支付配置
userPayOrder
,
// 订单校验
userPayOrder
,
// 订单校验
...
...
Dolphins/Classes/Tools/Network/TQNetworkTools.m
View file @
cea7aa3f
...
@@ -107,7 +107,7 @@ static TQNetworkTools* _tools = nil;
...
@@ -107,7 +107,7 @@ static TQNetworkTools* _tools = nil;
urlString
=
[
urlString
stringByAddingPercentEncodingWithAllowedCharacters
:[
NSCharacterSet
URLQueryAllowedCharacterSet
]];
urlString
=
[
urlString
stringByAddingPercentEncodingWithAllowedCharacters
:[
NSCharacterSet
URLQueryAllowedCharacterSet
]];
NSDictionary
*
params
;
NSDictionary
*
params
;
if
(
action
==
syncLocationDataLast
||
action
==
addFriendFollowed
||
action
==
friendFollowedUpdate
)
{
if
(
action
==
syncLocationDataLast
||
action
==
addFriendFollowed
||
action
==
friendFollowedUpdate
||
action
==
userRemindInfoSet
)
{
// params = [self setRequestParams: @{} token:YES];
// params = [self setRequestParams: @{} token:YES];
}
else
if
(
action
==
loginWithQuick
){
}
else
if
(
action
==
loginWithQuick
){
params
=
[
self
setRequestParams
:
parameters
token
:
NO
];
params
=
[
self
setRequestParams
:
parameters
token
:
NO
];
...
@@ -310,6 +310,8 @@ static TQNetworkTools* _tools = nil;
...
@@ -310,6 +310,8 @@ static TQNetworkTools* _tools = nil;
return
@"/app/v1/location/user/find"
;
return
@"/app/v1/location/user/find"
;
case
userHasNewMsg
:
case
userHasNewMsg
:
return
@"/app/v1/location/user/has-new-msg"
;
return
@"/app/v1/location/user/has-new-msg"
;
case
userHasNewSystemMsg
:
return
@"/app/v1/location/user/has-new-record"
;
case
userInfo
:
case
userInfo
:
return
@"/app/v1/location/user/info"
;
return
@"/app/v1/location/user/info"
;
case
userPayConfig
:
case
userPayConfig
:
...
...
Dolphins/Classes/Tools/PCH/ResourceHeader.pch
View file @
cea7aa3f
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#define ShanYanAppID @"CiuaRN4D" //创蓝appid
#define ShanYanAppID @"CiuaRN4D" //创蓝appid
#define WXAppId @"wx
8b8bbccffda2f453
"
#define WXAppId @"wx
e24b15232c28e77c
"
#define WXUniversalLink @"https://www.wayaya.info/"
#define WXUniversalLink @"https://www.wayaya.info/"
#define aesIvParameter @"e2e7d664d72f710b" // 密钥默认偏移,可更改
#define aesIvParameter @"e2e7d664d72f710b" // 密钥默认偏移,可更改
...
...
Dolphins/Classes/Tools/UserInfoManager/ZJUserInfoManager.m
View file @
cea7aa3f
...
@@ -281,7 +281,7 @@ static ZJUserInfoManager * manager;
...
@@ -281,7 +281,7 @@ static ZJUserInfoManager * manager;
}
else
if
(
kCLAuthorizationStatusDenied
==
status
)
{
}
else
if
(
kCLAuthorizationStatusDenied
==
status
)
{
NSString
*
alertTitle
=
[
NSString
stringWithFormat
:
@"位置权限未开启,请进入系统[设置]> [%@] > [位置]中允许访问位置信息,用来绘制您的轨迹"
,
[[[
NSBundle
mainBundle
]
infoDictionary
]
objectForKey
:
@"CFBundleName"
]];
NSString
*
alertTitle
=
[
NSString
stringWithFormat
:
@"位置权限未开启,请进入系统[设置]> [%@] > [位置]中允许访问位置信息,用来绘制您的轨迹"
,
[[[
NSBundle
mainBundle
]
infoDictionary
]
objectForKey
:
@"CFBundleName"
]];
[
AlertControllerTool
alertControllerWithTitle
:
alertTitle
message
:
@"
知迹
绘制您的轨迹需要您开启定位服务"
cancelTitle
:
@"去开启"
cancelBlock
:^
{
[
AlertControllerTool
alertControllerWithTitle
:
alertTitle
message
:
@"
海豚守护
绘制您的轨迹需要您开启定位服务"
cancelTitle
:
@"去开启"
cancelBlock
:^
{
NSURL
*
url
=
[
NSURL
URLWithString
:
UIApplicationOpenSettingsURLString
];
NSURL
*
url
=
[
NSURL
URLWithString
:
UIApplicationOpenSettingsURLString
];
...
@@ -303,7 +303,7 @@ static ZJUserInfoManager * manager;
...
@@ -303,7 +303,7 @@ static ZJUserInfoManager * manager;
}
}
}
}
}
else
{
}
else
{
[
AlertControllerTool
alertControllerWithTitle
:
@"定位服务未开启,请进入系统[设置]> [隐私] > [定位服务]中打开开关,并允许使用定位服务"
message
:
@"
知迹
绘制您的轨迹需要您开启定位服务"
cancelTitle
:
@"去设置"
cancelBlock
:^
{
[
AlertControllerTool
alertControllerWithTitle
:
@"定位服务未开启,请进入系统[设置]> [隐私] > [定位服务]中打开开关,并允许使用定位服务"
message
:
@"
海豚守护
绘制您的轨迹需要您开启定位服务"
cancelTitle
:
@"去设置"
cancelBlock
:^
{
NSURL
*
url
=
[
NSURL
URLWithString
:
UIApplicationOpenSettingsURLString
];
NSURL
*
url
=
[
NSURL
URLWithString
:
UIApplicationOpenSettingsURLString
];
...
...
Dolphins/Dolphins.entitlements
View file @
cea7aa3f
...
@@ -2,9 +2,11 @@
...
@@ -2,9 +2,11 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<plist
version=
"1.0"
>
<dict>
<dict>
<key>
aps-environment
</key>
<string>
development
</string>
<key>
com.apple.developer.associated-domains
</key>
<key>
com.apple.developer.associated-domains
</key>
<array>
<array>
<string>
applinks:www.wayaya.info/
</string>
<string>
applinks:www.wayaya.info/
dolphins/
</string>
</array>
</array>
<key>
keychain-access-groups
</key>
<key>
keychain-access-groups
</key>
<array/>
<array/>
...
...
Dolphins/Info.plist
View file @
cea7aa3f
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<
string
>
weixin
<
/string
>
<
string
>
weixin
<
/string
>
<
k
e
y
>
CFBundleURLSchemes
<
/k
e
y
>
<
k
e
y
>
CFBundleURLSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
a
rr
a
y
>
<
string
>
wx
8b8bbccffda2f453
<
/string
>
<
string
>
wx
e24b15232c28e77c
<
/string
>
<
/
a
rr
a
y
>
<
/
a
rr
a
y
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
d
i
c
t
>
...
@@ -76,19 +76,19 @@
...
@@ -76,19 +76,19 @@
<
tru
e
/
>
<
tru
e
/
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
k
e
y
>
NSCameraUsageDescription
<
/k
e
y
>
<
k
e
y
>
NSCameraUsageDescription
<
/k
e
y
>
<
string
>
知迹
修改您的头像需要您的相机权限
<
/string
>
<
string
>
海豚守护
修改您的头像需要您的相机权限
<
/string
>
<
k
e
y
>
NSContactsUsageDescription
<
/k
e
y
>
<
k
e
y
>
NSContactsUsageDescription
<
/k
e
y
>
<
string
>
知迹
获取您的好友需要您的通讯录权限
<
/string
>
<
string
>
海豚守护
获取您的好友需要您的通讯录权限
<
/string
>
<
k
e
y
>
NSLocationAlwaysAndWhenInUseUsageDescription
<
/k
e
y
>
<
k
e
y
>
NSLocationAlwaysAndWhenInUseUsageDescription
<
/k
e
y
>
<
string
>
知迹
绘制您的轨迹需要您的定位权限
<
/string
>
<
string
>
海豚守护
绘制您的轨迹需要您的定位权限
<
/string
>
<
k
e
y
>
NSLocationAlwaysUsageDescription
<
/k
e
y
>
<
k
e
y
>
NSLocationAlwaysUsageDescription
<
/k
e
y
>
<
string
>
知迹
绘制您的轨迹需要您的定位权限
<
/string
>
<
string
>
海豚守护
绘制您的轨迹需要您的定位权限
<
/string
>
<
k
e
y
>
NSLocationUsageDescription
<
/k
e
y
>
<
k
e
y
>
NSLocationUsageDescription
<
/k
e
y
>
<
string
>
知迹
绘制您的轨迹需要您的定位权限
<
/string
>
<
string
>
海豚守护
绘制您的轨迹需要您的定位权限
<
/string
>
<
k
e
y
>
NSLocationWhenInUseUsageDescription
<
/k
e
y
>
<
k
e
y
>
NSLocationWhenInUseUsageDescription
<
/k
e
y
>
<
string
>
知迹
绘制您的轨迹需要您的定位权限
<
/string
>
<
string
>
海豚守护
绘制您的轨迹需要您的定位权限
<
/string
>
<
k
e
y
>
NSPhotoLibraryUsageDescription
<
/k
e
y
>
<
k
e
y
>
NSPhotoLibraryUsageDescription
<
/k
e
y
>
<
string
>
知迹
修改您的头像需要您的相册权限
<
/string
>
<
string
>
海豚守护
修改您的头像需要您的相册权限
<
/string
>
<
k
e
y
>
UIApplicationSceneManifest
<
/k
e
y
>
<
k
e
y
>
UIApplicationSceneManifest
<
/k
e
y
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
UIApplicationSupportsMultipleScenes
<
/k
e
y
>
<
k
e
y
>
UIApplicationSupportsMultipleScenes
<
/k
e
y
>
...
...
Dolphins/launch1@2x.png
deleted
100644 → 0
View file @
d45682c9
28.7 KB
Dolphins/launch1@3x.png
deleted
100644 → 0
View file @
d45682c9
74 KB
Dolphins/launch2@2x.png
deleted
100644 → 0
View file @
d45682c9
322 KB
Dolphins/launch2@3x.png
deleted
100644 → 0
View file @
d45682c9
495 KB
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