Skip to content

Commit

Permalink
update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiaoshou committed Nov 22, 2022
1 parent 3322e0b commit e396b5f
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 106 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
CAA070C1246664CE0086B0A7 /* NTESDottedLineProgress.m in Sources */ = {isa = PBXBuildFile; fileRef = CAA070BB246664CE0086B0A7 /* NTESDottedLineProgress.m */; };
CAA070C2246664CE0086B0A7 /* UIColor+NTESLiveDetect.m in Sources */ = {isa = PBXBuildFile; fileRef = CAA070BC246664CE0086B0A7 /* UIColor+NTESLiveDetect.m */; };
CAA070D2246665C90086B0A7 /* NTESTimeoutToastView.m in Sources */ = {isa = PBXBuildFile; fileRef = CAA070D0246665C90086B0A7 /* NTESTimeoutToastView.m */; };
CAD16A62282B881E00BE7B9C /* NSArray+NTES.m in Sources */ = {isa = PBXBuildFile; fileRef = CAD16A61282B881E00BE7B9C /* NSArray+NTES.m */; };
CAD16A65282B885700BE7B9C /* NSString+NTESLiveDetect.m in Sources */ = {isa = PBXBuildFile; fileRef = CAD16A63282B885600BE7B9C /* NSString+NTESLiveDetect.m */; };
DC1F9474234ED6F400EDB465 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DC1F9473234ED6F400EDB465 /* AppDelegate.m */; };
DC1F9477234ED6F400EDB465 /* SceneDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DC1F9476234ED6F400EDB465 /* SceneDelegate.m */; };
DC1F947D234ED6F400EDB465 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DC1F947B234ED6F400EDB465 /* Main.storyboard */; };
Expand Down Expand Up @@ -54,10 +52,6 @@
CAA070BF246664CE0086B0A7 /* UIColor+NTESLiveDetect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIColor+NTESLiveDetect.h"; sourceTree = "<group>"; };
CAA070D0246665C90086B0A7 /* NTESTimeoutToastView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NTESTimeoutToastView.m; sourceTree = "<group>"; };
CAA070D1246665C90086B0A7 /* NTESTimeoutToastView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NTESTimeoutToastView.h; sourceTree = "<group>"; };
CAD16A60282B881E00BE7B9C /* NSArray+NTES.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSArray+NTES.h"; sourceTree = "<group>"; };
CAD16A61282B881E00BE7B9C /* NSArray+NTES.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSArray+NTES.m"; sourceTree = "<group>"; };
CAD16A63282B885600BE7B9C /* NSString+NTESLiveDetect.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+NTESLiveDetect.m"; sourceTree = "<group>"; };
CAD16A64282B885700BE7B9C /* NSString+NTESLiveDetect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+NTESLiveDetect.h"; sourceTree = "<group>"; };
DC1F946F234ED6F400EDB465 /* 活体检测Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "活体检测Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; };
DC1F9472234ED6F400EDB465 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
DC1F9473234ED6F400EDB465 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -128,10 +122,6 @@
CAA070B9246664CE0086B0A7 /* Util */ = {
isa = PBXGroup;
children = (
CAD16A60282B881E00BE7B9C /* NSArray+NTES.h */,
CAD16A61282B881E00BE7B9C /* NSArray+NTES.m */,
CAD16A64282B885700BE7B9C /* NSString+NTESLiveDetect.h */,
CAD16A63282B885600BE7B9C /* NSString+NTESLiveDetect.m */,
CA8F6B6E24D29CE3009489E6 /* NetworkReachability.h */,
CA8F6B6D24D29CE3009489E6 /* NetworkReachability.m */,
CAA070BF246664CE0086B0A7 /* UIColor+NTESLiveDetect.h */,
Expand Down Expand Up @@ -365,7 +355,6 @@
buildActionMask = 2147483647;
files = (
DC1F9474234ED6F400EDB465 /* AppDelegate.m in Sources */,
CAD16A62282B881E00BE7B9C /* NSArray+NTES.m in Sources */,
DC1F948E234ED78F00EDB465 /* NTESLDHomePageViewController.m in Sources */,
DC1F9496234EDDF000EDB465 /* NTESBaseViewController.m in Sources */,
DC1F949A234F2EE400EDB465 /* NTESLDSuccessViewController.m in Sources */,
Expand All @@ -374,7 +363,6 @@
DC1F94B62350275400EDB465 /* NTESLDMainViewController.mm in Sources */,
CAA070D2246665C90086B0A7 /* NTESTimeoutToastView.m in Sources */,
DC1F9477234ED6F400EDB465 /* SceneDelegate.m in Sources */,
CAD16A65282B885700BE7B9C /* NSString+NTESLiveDetect.m in Sources */,
CA8F6B6F24D29CE3009489E6 /* NetworkReachability.m in Sources */,
CAA070C0246664CE0086B0A7 /* NTESToastView.m in Sources */,
DC1F94DD235415DC00EDB465 /* NTESLiveDetectView.m in Sources */,
Expand Down Expand Up @@ -544,7 +532,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.netease.NTESLiveDetectPublicDemo;
PRODUCT_NAME = "活体检测Demo";
PROVISIONING_PROFILE_SPECIFIER = neteaseGeneralProfile;
PROVISIONING_PROFILE_SPECIFIER = wildcardProfile;
TARGETED_DEVICE_FAMILY = 1;
};
name = Debug;
Expand Down Expand Up @@ -578,7 +566,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.netease.NTESLiveDetectPublicDemo;
PRODUCT_NAME = "活体检测Demo";
PROVISIONING_PROFILE_SPECIFIER = neteaseGeneralProfile;
PROVISIONING_PROFILE_SPECIFIER = wildcardProfile;
TARGETED_DEVICE_FAMILY = 1;
};
name = Release;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ - (void)startLiveDetect {
NSLog(@"=======%@",version);
__weak __typeof(self)weakSelf = self;

[self.detector startLiveDetectWithBusinessID:@"请输入易盾业务ID" actionsHandler:^(NSDictionary * _Nonnull params) {
[self.detector startLiveDetectWithBusinessID:@"6a1a399443a54d31b91896a4208bf6e0" actionsHandler:^(NSDictionary * _Nonnull params) {
dispatch_async(dispatch_get_main_queue(), ^{
[weakSelf.mainView.activityIndicator stopAnimating];
NSString *actions = [params objectForKey:@"actions"];
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#import <AVFoundation/AVFoundation.h>
#import "NTESDottedLineProgress.h"
#import "UIColor+NTESLiveDetect.h"
#import "NSString+NTESLiveDetect.h"
#import "NSArray+NTES.h"

#define DegreesToRadian(x) (M_PI * (x) / 180.0)

Expand Down Expand Up @@ -559,3 +557,4 @@ - (void)dealloc {
@end



0 comments on commit e396b5f

Please sign in to comment.