Browse Source

no message

master
ray 3 months ago
parent
commit
ba9ac2e133
  1. 8
      LekangGuard.xcodeproj/project.pbxproj
  2. BIN
      LekangGuard.xcworkspace/xcuserdata/ecell.xcuserdatad/UserInterfaceState.xcuserstate
  3. 34
      LekangGuard.xcworkspace/xcuserdata/ecell.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  4. 2
      LekangGuard/AppDelegate.m
  5. 60
      LekangGuard/Map/Track(轨迹)/TrackMapView.m
  6. 2
      LekangGuard/Map/Track(轨迹)/TrackViewController.m
  7. BIN
      LekangGuard/sdk/AnyChatCoreSDK.framework/AnyChatCoreSDK
  8. 10
      Pods/Pods.xcodeproj/project.pbxproj

8
LekangGuard.xcodeproj/project.pbxproj

@ -4112,7 +4112,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0; IPHONEOS_DEPLOYMENT_TARGET = 17.4;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES; MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
@ -4165,7 +4165,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0; IPHONEOS_DEPLOYMENT_TARGET = 17.4;
MTL_ENABLE_DEBUG_INFO = NO; MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES; MTL_FAST_MATH = YES;
SDKROOT = iphoneos; SDKROOT = iphoneos;
@ -4254,7 +4254,7 @@
"$(PROJECT_DIR)/LekangGuard/Common/VoiceConvert/lib", "$(PROJECT_DIR)/LekangGuard/Common/VoiceConvert/lib",
"$(PROJECT_DIR)/LekangGuard/sdk/lib/ios", "$(PROJECT_DIR)/LekangGuard/sdk/lib/ios",
); );
MARKETING_VERSION = 1.0.3; MARKETING_VERSION = 1.0.6;
ONLY_ACTIVE_ARCH = NO; ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
@ -4473,7 +4473,7 @@
"$(PROJECT_DIR)/LekangGuard/Common/VoiceConvert/lib", "$(PROJECT_DIR)/LekangGuard/Common/VoiceConvert/lib",
"$(PROJECT_DIR)/LekangGuard/sdk/lib/ios", "$(PROJECT_DIR)/LekangGuard/sdk/lib/ios",
); );
MARKETING_VERSION = 1.0.3; MARKETING_VERSION = 1.0.6;
ONLY_ACTIVE_ARCH = NO; ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",

BIN
LekangGuard.xcworkspace/xcuserdata/ecell.xcuserdatad/UserInterfaceState.xcuserstate generated

Binary file not shown.

34
LekangGuard.xcworkspace/xcuserdata/ecell.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@ -3,4 +3,38 @@
uuid = "C221774C-F002-4C3A-AC8E-C40B3B293279" uuid = "C221774C-F002-4C3A-AC8E-C40B3B293279"
type = "0" type = "0"
version = "2.0"> version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "44AD1146-2EBC-4453-92BC-8D343230EC4B"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "LekangGuard/Map/Track(&#x8f68;&#x8ff9;)/TrackViewController.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "156"
endingLineNumber = "156"
landmarkName = "-mapShowAndHidden:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "83E4D163-5852-45D4-B161-2F5DD5836C23"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "LekangGuard/AppDelegate.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "662"
endingLineNumber = "662"
landmarkName = "-upding"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket> </Bucket>

2
LekangGuard/AppDelegate.m

@ -671,7 +671,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response
} }
} }
-(void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations
{ {
CLLocation *userLocation = [locations lastObject]; CLLocation *userLocation = [locations lastObject];
self.curLocation = [userLocation locationMarsFromEarth]; self.curLocation = [userLocation locationMarsFromEarth];

60
LekangGuard/Map/Track(轨迹)/TrackMapView.m

@ -140,8 +140,10 @@
- (void)topViewShowAndHidden:(NSInteger)isShow - (void)topViewShowAndHidden:(NSInteger)isShow
{ {
self.topView.hidden = isShow == 1 ? NO : YES; self.topView.hidden = isShow == 1 ? NO : YES;
// CGFloat yy = iPhoneX_NavHeight+Adapted(50)+0.5;
[UIView animateWithDuration:0.5 animations:^{ [UIView animateWithDuration:0.5 animations:^{
self.topView.frame = CGRectMake(0,isShow == 1 ? 0 : -Adapted(55), SCREEN_WIDTH, Adapted(55)); self.topView.frame = CGRectMake(0,isShow == 1 ? 0 : -Adapted(55), SCREEN_WIDTH, Adapted(55));
// self.mapView.frame = CGRectMake(0, self.topView.bottom, SCREEN_WIDTH, SCREEN_HEIGHT-yy-Adapted(55));
} completion:^(BOOL finished) { } completion:^(BOOL finished) {
}]; }];
@ -177,11 +179,14 @@
- (void)loadWithInfoTrack:(NSMutableArray *)mapPoints - (void)loadWithInfoTrack:(NSMutableArray *)mapPoints
{ {
// self.startAndStopBtn.selected = NO; // self.startAndStopBtn.selected = NO;
// [self startAndStopBtnAction:self.startAndStopBtn];
mapPoints = (NSMutableArray *)[[mapPoints reverseObjectEnumerator] allObjects]; mapPoints = (NSMutableArray *)[[mapPoints reverseObjectEnumerator] allObjects];
[self startAndStopBtnAction:self.startAndStopBtn];
[self.mapView removeAnnotations:self.pointAnnotationArr]; [self.mapView removeAnnotations:self.pointAnnotationArr];
[self.mapView removeOverlay:self.routeLine]; [self.mapView removeOverlay:self.routeLine];
[self.trackView removeFromSuperview];
self.trackView = nil; self.trackView = nil;
self.currentIndex = 0;
self.routeLine = nil; self.routeLine = nil;
self.routeLineView = nil; self.routeLineView = nil;
self.pointAnnotationArr = nil; self.pointAnnotationArr = nil;
@ -195,16 +200,18 @@
self.pathPoints = nil; self.pathPoints = nil;
} }
[self addLocate:mapPoints]; AfterDispatch(0.2, ^{
if(mapPoints.count > 1) [self addLocate:mapPoints];
{ if(mapPoints.count > 1)
self.startAndStopBtn.selected = YES; {
[self startAndStopBtnAction:self.startAndStopBtn]; self.startAndStopBtn.selected = YES;
} [self startAndStopBtnAction:self.startAndStopBtn];
//默认选中 起点 }
CustomAnnotationView *tempView = [CustomAnnotationView new]; //默认选中 起点
tempView.annotation = self.pointAnnotationArr.lastObject; CustomAnnotationView *tempView = [CustomAnnotationView new];
[self mapView:self.mapView didSelectAnnotationView:tempView]; tempView.annotation = self.pointAnnotationArr.lastObject;
[self mapView:self.mapView didSelectAnnotationView:tempView];
});
} }
@ -236,7 +243,7 @@
[self.mapView addAnnotations:self.pointAnnotationArr]; [self.mapView addAnnotations:self.pointAnnotationArr];
} }
// [sender setSelected:!sender.isSelected]; // [sender setSelected:!sender.isSelected];
self.mapView.userInteractionEnabled = sender.isSelected; // self.mapView.userInteractionEnabled = sender.isSelected;
} }
#pragma mark - 构造shapeLayer #pragma mark - 构造shapeLayer
- (void)initShapeLayerWithPath:(CGPathRef)path - (void)initShapeLayerWithPath:(CGPathRef)path
@ -325,10 +332,10 @@
[self.headView.layer removeFromSuperlayer]; [self.headView.layer removeFromSuperlayer];
self.startAndStopBtn.selected = NO; self.startAndStopBtn.selected = NO;
[self.startAndStopBtn setImage:ImageName_(@"icon_start") forState:UIControlStateNormal]; [self.startAndStopBtn setImage:ImageName_(@"icon_start") forState:UIControlStateNormal];
// if(!self.startAndStopBtn.isSelected)
// { [self.trackView removeFromSuperview];
// [self startAndStopBtnAction:self.startAndStopBtn]; self.trackView = nil;
// } [self.mapView addAnnotations:self.pointAnnotationArr];
} }
return; return;
} }
@ -337,17 +344,24 @@
nextAnim.delegate = self; nextAnim.delegate = self;
// [self.headView addAnimation:nextAnim forKey:[NSString stringWithFormat:@"headPosition%d",currentIndex]]; // [self.headView addAnimation:nextAnim forKey:[NSString stringWithFormat:@"headPosition%d",currentIndex]];
[self.headView.layer addAnimation:nextAnim forKey:@"headPosition"]; [self.headView.layer addAnimation:nextAnim forKey:@"headPosition"];
if(self.pathPoints){ if(self.pathPoints)
{
CGPoint currentPoint = self.pathPoints[self.currentIndex]; CGPoint currentPoint = self.pathPoints[self.currentIndex];
if (self.currentIndex == 0){ if (self.currentIndex == 0)
{
//第一 //第一
[self addTrackViewPoint:currentPoint Type:0 Angle:0]; [self addTrackViewPoint:currentPoint Type:0 Angle:0];
double angle = self.angeleValues[self.angeleValues.count-1].doubleValue; double angle = self.angeleValues[self.angeleValues.count-1].doubleValue;
self.headView.transform = CGAffineTransformMakeRotation(angle); self.headView.transform = CGAffineTransformMakeRotation(angle);
}else if(self.currentIndex == self.pointAnnotationArr.count-1){ }
else if(self.currentIndex == self.pointAnnotationArr.count-1)
{
//最后一个 //最后一个
[self addTrackViewPoint:currentPoint Type:2 Angle:0]; [self addTrackViewPoint:currentPoint Type:2 Angle:0];
}else{ self.mapView.userInteractionEnabled = YES;
}
else
{
NSInteger tempIndex = self.angeleValues.count-self.currentIndex-1; NSInteger tempIndex = self.angeleValues.count-self.currentIndex-1;
if(tempIndex < 0){ if(tempIndex < 0){
tempIndex = 0; tempIndex = 0;
@ -833,13 +847,13 @@
{ {
if (!_mapView) if (!_mapView)
{ {
CGFloat yy = iPhoneX_NavHeight+Adapted(50)+0.5; CGFloat yy = iPhoneX_NavHeight+Adapted(50)+0.5+Adapted(55);
_mapView = [[MKMapView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT-yy)]; _mapView = [[MKMapView alloc] initWithFrame:CGRectMake(0, Adapted(55), SCREEN_WIDTH, SCREEN_HEIGHT-yy)];
MKCoordinateSpan span = MKCoordinateSpanMake(0.021251, 0.016093); MKCoordinateSpan span = MKCoordinateSpanMake(0.021251, 0.016093);
CLLocationCoordinate2D center = self.mapView.region.center; CLLocationCoordinate2D center = self.mapView.region.center;
[_mapView setRegion:MKCoordinateRegionMake(center, span) animated:YES]; [_mapView setRegion:MKCoordinateRegionMake(center, span) animated:YES];
_mapView.rotateEnabled = NO; _mapView.rotateEnabled = NO;
_mapView.userInteractionEnabled = NO; _mapView.userInteractionEnabled = YES;
_mapView.delegate = self; _mapView.delegate = self;
} }
return _mapView; return _mapView;

2
LekangGuard/Map/Track(轨迹)/TrackViewController.m

@ -184,7 +184,7 @@
self.comTable.tableHeaderView = arr.count > 0 ? self.headerView : nil; self.comTable.tableHeaderView = arr.count > 0 ? self.headerView : nil;
self.comTable.tableHeaderView.height = arr.count > 0 ? Adapted(60) : 0; self.comTable.tableHeaderView.height = arr.count > 0 ? Adapted(60) : 0;
self.numberLabel.attributedText = [UICommon labelFontSize:arr.count > 0 ? F(@"%ld %@", arr.count,GJText(@"条轨迹")) : @""]; self.numberLabel.attributedText = [UICommon labelFontSize:arr.count > 0 ? F(@"%ld %@", arr.count,GJText(@"条轨迹")) : @""];
// [self.trackMapView loadWithInfoTrack:self.modelListArr]; [self.trackMapView loadWithInfoTrack:self.modelListArr];
[self.comTable reloadData]; [self.comTable reloadData];
self.zx_navRightBtn.hidden = self.modelListArr.count > 0 ? NO : YES; self.zx_navRightBtn.hidden = self.modelListArr.count > 0 ? NO : YES;

BIN
LekangGuard/sdk/AnyChatCoreSDK.framework/AnyChatCoreSDK

Binary file not shown.

10
Pods/Pods.xcodeproj/project.pbxproj generated

@ -2395,7 +2395,7 @@
9F91CC8D9596A9767E097EDEA28F83CF /* MOBFoundation.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MOBFoundation.release.xcconfig; sourceTree = "<group>"; }; 9F91CC8D9596A9767E097EDEA28F83CF /* MOBFoundation.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MOBFoundation.release.xcconfig; sourceTree = "<group>"; };
9F9E3A312081F62DC6E9B2E725A799CF /* YYDiskCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YYDiskCache.m; path = YYCache/YYDiskCache.m; sourceTree = "<group>"; }; 9F9E3A312081F62DC6E9B2E725A799CF /* YYDiskCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = YYDiskCache.m; path = YYCache/YYDiskCache.m; sourceTree = "<group>"; };
A01DAB8521E5BA656A0425FA059B26CB /* EasyAlertConfig.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EasyAlertConfig.m; path = EasyShowView/EasyAlertConfig.m; sourceTree = "<group>"; }; A01DAB8521E5BA656A0425FA059B26CB /* EasyAlertConfig.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EasyAlertConfig.m; path = EasyShowView/EasyAlertConfig.m; sourceTree = "<group>"; };
A03A7C3856D30063F1B649BC7B4BF0F5 /* ZXNavigationBar */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ZXNavigationBar; path = ZXNavigationBar.framework; sourceTree = BUILT_PRODUCTS_DIR; }; A03A7C3856D30063F1B649BC7B4BF0F5 /* ZXNavigationBar.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ZXNavigationBar.framework; sourceTree = BUILT_PRODUCTS_DIR; };
A0A6BE922721FAF96B45C993EDDA53EB /* UIBarButtonItem+RACCommandSupport.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIBarButtonItem+RACCommandSupport.m"; path = "ReactiveObjC/UIBarButtonItem+RACCommandSupport.m"; sourceTree = "<group>"; }; A0A6BE922721FAF96B45C993EDDA53EB /* UIBarButtonItem+RACCommandSupport.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIBarButtonItem+RACCommandSupport.m"; path = "ReactiveObjC/UIBarButtonItem+RACCommandSupport.m"; sourceTree = "<group>"; };
A10653B4A439807E24029E84BCCFB8CB /* EasyEmptyConfig.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EasyEmptyConfig.h; path = EasyShowView/EasyEmptyConfig.h; sourceTree = "<group>"; }; A10653B4A439807E24029E84BCCFB8CB /* EasyEmptyConfig.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EasyEmptyConfig.h; path = EasyShowView/EasyEmptyConfig.h; sourceTree = "<group>"; };
A16172AA44D1EFC4CB04FCD8EE4D44C1 /* MAMapAccessibilityIdentifier.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MAMapAccessibilityIdentifier.h; path = MAMapKit.framework/Headers/MAMapAccessibilityIdentifier.h; sourceTree = "<group>"; }; A16172AA44D1EFC4CB04FCD8EE4D44C1 /* MAMapAccessibilityIdentifier.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MAMapAccessibilityIdentifier.h; path = MAMapKit.framework/Headers/MAMapAccessibilityIdentifier.h; sourceTree = "<group>"; };
@ -4564,7 +4564,7 @@
F9ABEB157CD437A93AED5462580D63B9 /* YCShadowView */, F9ABEB157CD437A93AED5462580D63B9 /* YCShadowView */,
48ACF38225AF5129416A1F090F6D3286 /* YYCache */, 48ACF38225AF5129416A1F090F6D3286 /* YYCache */,
E460D5B0416D36F66EE8EC89E5D2FA0A /* YYModel */, E460D5B0416D36F66EE8EC89E5D2FA0A /* YYModel */,
A03A7C3856D30063F1B649BC7B4BF0F5 /* ZXNavigationBar */, A03A7C3856D30063F1B649BC7B4BF0F5 /* ZXNavigationBar.framework */,
); );
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
@ -6479,7 +6479,7 @@
); );
name = ZXNavigationBar; name = ZXNavigationBar;
productName = ZXNavigationBar; productName = ZXNavigationBar;
productReference = A03A7C3856D30063F1B649BC7B4BF0F5 /* ZXNavigationBar */; productReference = A03A7C3856D30063F1B649BC7B4BF0F5 /* ZXNavigationBar.framework */;
productType = "com.apple.product-type.framework"; productType = "com.apple.product-type.framework";
}; };
ACBDE5E0D3073720CB54E61FB8C1A940 /* Pods-LekangGuard-LekangGuardUITests */ = { ACBDE5E0D3073720CB54E61FB8C1A940 /* Pods-LekangGuard-LekangGuardUITests */ = {
@ -9630,7 +9630,7 @@
GCC_PREFIX_HEADER = "Target Support Files/ZXNavigationBar/ZXNavigationBar-prefix.pch"; GCC_PREFIX_HEADER = "Target Support Files/ZXNavigationBar/ZXNavigationBar-prefix.pch";
INFOPLIST_FILE = "Target Support Files/ZXNavigationBar/ZXNavigationBar-Info.plist"; INFOPLIST_FILE = "Target Support Files/ZXNavigationBar/ZXNavigationBar-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0; IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
@ -10445,7 +10445,7 @@
GCC_PREFIX_HEADER = "Target Support Files/ZXNavigationBar/ZXNavigationBar-prefix.pch"; GCC_PREFIX_HEADER = "Target Support Files/ZXNavigationBar/ZXNavigationBar-prefix.pch";
INFOPLIST_FILE = "Target Support Files/ZXNavigationBar/ZXNavigationBar-Info.plist"; INFOPLIST_FILE = "Target Support Files/ZXNavigationBar/ZXNavigationBar-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0; IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",

Loading…
Cancel
Save