Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
ZhiJi-Overseas
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
ZhiJi-Overseas
Commits
d69941e9
Commit
d69941e9
authored
Jul 10, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e4c3d2a4
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
36 additions
and
18 deletions
+36
-18
.DS_Store
.DS_Store
+0
-0
project.pbxproj
ZhiJi.xcodeproj/project.pbxproj
+6
-6
AppDelegate.m
ZhiJi/AppDelegate.m
+1
-1
ZJJinJiViewController.m
ZhiJi/Classes/Care/Controller/ZJJinJiViewController.m
+2
-2
ZJLocationRemindSelectController.m
...sses/LocationAttention/ZJLocationRemindSelectController.m
+12
-5
ZJBaseMapViewController.m
ZhiJi/Classes/Map/Controller/ZJBaseMapViewController.m
+3
-3
ZJFriendTrackMapViewController.m
...i/Classes/Map/Controller/ZJFriendTrackMapViewController.m
+11
-0
ResourceHeader.pch
ZhiJi/Classes/Tools/PCH/ResourceHeader.pch
+1
-1
No files found.
.DS_Store
View file @
d69941e9
No preview for this file type
ZhiJi.xcodeproj/project.pbxproj
View file @
d69941e9
...
@@ -1822,8 +1822,8 @@
...
@@ -1822,8 +1822,8 @@
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_ENTITLEMENTS
=
ZhiJi/ZhiJi.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
ZhiJi/ZhiJi.entitlements
;
CODE_SIGN_IDENTITY
=
"
iPhone Developer
"
;
CODE_SIGN_IDENTITY
=
"
Apple Development
"
;
CODE_SIGN_STYLE
=
Manual
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
100
;
CURRENT_PROJECT_VERSION
=
100
;
DEVELOPMENT_TEAM
=
KQ4CS767WC
;
DEVELOPMENT_TEAM
=
KQ4CS767WC
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -1904,7 +1904,7 @@
...
@@ -1904,7 +1904,7 @@
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.app.familymapp
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.app.familymapp
;
PRODUCT_NAME
=
"Family Mapp"
;
PRODUCT_NAME
=
"Family Mapp"
;
PROVISIONING_PROFILE_SPECIFIER
=
family_map_develop
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"$(SRCROOT)/ZhiJi/Classes/Main/Base/ZhiJi-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"$(SRCROOT)/ZhiJi/Classes/Main/Base/ZhiJi-Bridging-Header.h"
;
SWIFT_OBJC_INTERFACE_HEADER_NAME
=
"ZhiJi-Swift.h"
;
SWIFT_OBJC_INTERFACE_HEADER_NAME
=
"ZhiJi-Swift.h"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
...
@@ -1920,8 +1920,8 @@
...
@@ -1920,8 +1920,8 @@
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_ENTITLEMENTS
=
ZhiJi/ZhiJi.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
ZhiJi/ZhiJi.entitlements
;
CODE_SIGN_IDENTITY
=
"
iPhone Developer
"
;
CODE_SIGN_IDENTITY
=
"
Apple Development
"
;
CODE_SIGN_STYLE
=
Manual
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
100
;
CURRENT_PROJECT_VERSION
=
100
;
DEBUG_INFORMATION_FORMAT
=
dwarf
;
DEBUG_INFORMATION_FORMAT
=
dwarf
;
DEFINES_MODULE
=
YES
;
DEFINES_MODULE
=
YES
;
...
@@ -2004,7 +2004,7 @@
...
@@ -2004,7 +2004,7 @@
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.app.familymapp
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.app.familymapp
;
PRODUCT_NAME
=
"Family Mapp"
;
PRODUCT_NAME
=
"Family Mapp"
;
PROVISIONING_PROFILE_SPECIFIER
=
family_map_develop
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"$(SRCROOT)/ZhiJi/Classes/Main/Base/ZhiJi-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"$(SRCROOT)/ZhiJi/Classes/Main/Base/ZhiJi-Bridging-Header.h"
;
SWIFT_OBJC_INTERFACE_HEADER_NAME
=
"ZhiJi-Swift.h"
;
SWIFT_OBJC_INTERFACE_HEADER_NAME
=
"ZhiJi-Swift.h"
;
SWIFT_VERSION
=
5.0
;
SWIFT_VERSION
=
5.0
;
...
...
ZhiJi/AppDelegate.m
View file @
d69941e9
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
[
AMapServices
sharedServices
].
apiKey
=
@"31b57777dd1b5f65e45c1dab247e3950"
;
[
AMapServices
sharedServices
].
apiKey
=
@"31b57777dd1b5f65e45c1dab247e3950"
;
[
AMapServices
sharedServices
].
enableHTTPS
=
YES
;
[
AMapServices
sharedServices
].
enableHTTPS
=
YES
;
[
UMConfigure
initWithAppkey
:
@"5f0
2fdef167edd8d94000012
"
channel
:
nil
];
[
UMConfigure
initWithAppkey
:
@"5f0
5b1e2895cca892f000083
"
channel
:
nil
];
[
MobClick
event
:
@"app_start"
];
[
MobClick
event
:
@"app_start"
];
[[
FBSDKApplicationDelegate
sharedInstance
]
application
:
application
didFinishLaunchingWithOptions
:
launchOptions
];
[[
FBSDKApplicationDelegate
sharedInstance
]
application
:
application
didFinishLaunchingWithOptions
:
launchOptions
];
...
...
ZhiJi/Classes/Care/Controller/ZJJinJiViewController.m
View file @
d69941e9
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
#pragma mark 发送信息给所有紧急联系人
#pragma mark 发送信息给所有紧急联系人
-
(
void
)
sendAllEmergencyContact
{
-
(
void
)
sendAllEmergencyContact
{
if
(
!
[
ZJUserInfoManager
shared
].
isLogin
)
{
if
(
[
ZJUserInfoManager
shared
].
isTourist
)
{
ZJOauthLoginConfig
*
config
=
[[
ZJOauthLoginConfig
alloc
]
initWithCurrentVC
:
self
];
ZJOauthLoginConfig
*
config
=
[[
ZJOauthLoginConfig
alloc
]
initWithCurrentVC
:
self
];
[
config
loginVerify
:
^
(
id
_Nonnull
model
)
{
[
config
loginVerify
:
^
(
id
_Nonnull
model
)
{
...
...
ZhiJi/Classes/LocationAttention/ZJLocationRemindSelectController.m
View file @
d69941e9
...
@@ -78,15 +78,22 @@
...
@@ -78,15 +78,22 @@
-
(
void
)
setupMapViewAndUI
{
-
(
void
)
setupMapViewAndUI
{
///初始化地图
///初始化地图
self
.
mapView
=
[[
MAMapView
alloc
]
initWithFrame
:
self
.
view
.
bounds
];
self
.
mapView
=
[[
MAMapView
alloc
]
initWithFrame
:
self
.
view
.
bounds
];
_mapView
.
autoresizingMask
=
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
;
///把地图添加至view
[
self
.
view
addSubview
:
_mapView
];
[
self
.
view
sendSubviewToBack
:
_mapView
];
self
.
mapView
.
mapType
=
0
;
_mapView
.
showsWorldMap
=
@YES
;
[
self
.
mapView
performSelector
:
@selector
(
setShowsWorldMap
:)
withObject
:
@
(
YES
)];
if
([
ZJUserInfoManager
CNLanguage
])
{
if
([
ZJUserInfoManager
CNLanguage
])
{
self
.
mapView
.
mapLanguage
=
@0
;
self
.
mapView
.
mapLanguage
=
@0
;
[
self
.
mapView
performSelector
:
NSSelectorFromString
(
@"setMapLanguage:"
)
withObject
:
@
(
0
)];
}
else
{
}
else
{
self
.
mapView
.
mapLanguage
=
@1
;
self
.
mapView
.
mapLanguage
=
@1
;
[
self
.
mapView
performSelector
:
NSSelectorFromString
(
@"setMapLanguage:"
)
withObject
:
@
(
1
)];
}
}
_mapView
.
autoresizingMask
=
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
;
///把地图添加至view
[
self
.
view
addSubview
:
_mapView
];
[
self
.
view
sendSubviewToBack
:
_mapView
];
///如果您需要进入地图就显示定位小蓝点,则需要下面两行代码
///如果您需要进入地图就显示定位小蓝点,则需要下面两行代码
_mapView
.
showsUserLocation
=
false
;
_mapView
.
showsUserLocation
=
false
;
_mapView
.
delegate
=
self
;
_mapView
.
delegate
=
self
;
...
...
ZhiJi/Classes/Map/Controller/ZJBaseMapViewController.m
View file @
d69941e9
...
@@ -50,13 +50,13 @@
...
@@ -50,13 +50,13 @@
-
(
void
)
setupUI
{
-
(
void
)
setupUI
{
///初始化地图
///初始化地图
self
.
mapView
=
[[
MAMapView
alloc
]
initWithFrame
:
self
.
view
.
bounds
];
self
.
mapView
=
[[
MAMapView
alloc
]
initWithFrame
:
self
.
view
.
bounds
];
self
.
mapView
.
mapType
=
0
;
_mapView
.
showsWorldMap
=
@YES
;
[
self
.
mapView
performSelector
:
@selector
(
setShowsWorldMap
:)
withObject
:
@
(
YES
)];
_mapView
.
autoresizingMask
=
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
;
_mapView
.
autoresizingMask
=
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
;
///把地图添加至view
///把地图添加至view
[
self
.
view
addSubview
:
_mapView
];
[
self
.
view
addSubview
:
_mapView
];
self
.
mapView
.
mapType
=
0
;
_mapView
.
showsWorldMap
=
@YES
;
[
self
.
mapView
performSelector
:
@selector
(
setShowsWorldMap
:)
withObject
:
@
(
YES
)];
if
([
ZJUserInfoManager
CNLanguage
])
{
if
([
ZJUserInfoManager
CNLanguage
])
{
self
.
mapView
.
mapLanguage
=
@0
;
self
.
mapView
.
mapLanguage
=
@0
;
[
self
.
mapView
performSelector
:
NSSelectorFromString
(
@"setMapLanguage:"
)
withObject
:
@
(
0
)];
[
self
.
mapView
performSelector
:
NSSelectorFromString
(
@"setMapLanguage:"
)
withObject
:
@
(
0
)];
...
...
ZhiJi/Classes/Map/Controller/ZJFriendTrackMapViewController.m
View file @
d69941e9
...
@@ -139,6 +139,17 @@
...
@@ -139,6 +139,17 @@
///初始化地图
///初始化地图
self
.
mapView
=
[[
MAMapView
alloc
]
initWithFrame
:
self
.
view
.
bounds
];
self
.
mapView
=
[[
MAMapView
alloc
]
initWithFrame
:
self
.
view
.
bounds
];
_mapView
.
autoresizingMask
=
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
;
_mapView
.
autoresizingMask
=
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
;
self
.
mapView
.
mapType
=
0
;
_mapView
.
showsWorldMap
=
@YES
;
[
self
.
mapView
performSelector
:
@selector
(
setShowsWorldMap
:)
withObject
:
@
(
YES
)];
if
([
ZJUserInfoManager
CNLanguage
])
{
self
.
mapView
.
mapLanguage
=
@0
;
[
self
.
mapView
performSelector
:
NSSelectorFromString
(
@"setMapLanguage:"
)
withObject
:
@
(
0
)];
}
else
{
self
.
mapView
.
mapLanguage
=
@1
;
[
self
.
mapView
performSelector
:
NSSelectorFromString
(
@"setMapLanguage:"
)
withObject
:
@
(
1
)];
}
///把地图添加至view
///把地图添加至view
[
self
.
view
addSubview
:
_mapView
];
[
self
.
view
addSubview
:
_mapView
];
...
...
ZhiJi/Classes/Tools/PCH/ResourceHeader.pch
View file @
d69941e9
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
//#if DEBUG
//#if DEBUG
//
//
//#define ServerReport @"http://report.linking100.com
/ping
"
//#define ServerReport @"http://report.linking100.com"
//#define ServerHost @"https://feedapitest.zhangxinhulian.com"
//#define ServerHost @"https://feedapitest.zhangxinhulian.com"
//#define ServerHostFeed @"https://feedapitest.zhangxinhulian.com"
//#define ServerHostFeed @"https://feedapitest.zhangxinhulian.com"
//
//
...
...
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