Commit 478ce1f2 authored by Liuwr's avatar Liuwr

修改Demo配置

parent 2a68ea3e
......@@ -8,6 +8,12 @@
/* Begin PBXBuildFile section */
3403E6D170A77E0540ED6E13 /* libPods-18Robinson.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CF2C26CD7CC0FB84716B0F35 /* libPods-18Robinson.a */; };
E13E028021CC786500498865 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E13E027F21CC786500498865 /* CoreTelephony.framework */; };
E13E028221CC786C00498865 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E13E028121CC786C00498865 /* SystemConfiguration.framework */; };
E13E028421CC787400498865 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E13E028321CC787400498865 /* CFNetwork.framework */; };
E13E028621CC788200498865 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E13E028521CC788200498865 /* libz.tbd */; };
E13E028821CC788E00498865 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E13E028721CC788E00498865 /* libsqlite3.tbd */; };
E13E028A21CC789600498865 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = E13E028921CC789600498865 /* libc++.tbd */; };
E176612421C9E44B003B78CE /* XDImage[图片] in Resources */ = {isa = PBXBuildFile; fileRef = E176612321C9E44B003B78CE /* XDImage[图片] */; };
E176612A21C9EAA3003B78CE /* EpathmapSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E176612921C9EAA2003B78CE /* EpathmapSDK.framework */; };
E176612B21C9EC00003B78CE /* EpathmapSDK.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = E176612921C9EAA2003B78CE /* EpathmapSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
......@@ -54,6 +60,12 @@
/* Begin PBXFileReference section */
7323950A08494E40B99A6CD3 /* Pods-18Robinson.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-18Robinson.debug.xcconfig"; path = "Target Support Files/Pods-18Robinson/Pods-18Robinson.debug.xcconfig"; sourceTree = "<group>"; };
CF2C26CD7CC0FB84716B0F35 /* libPods-18Robinson.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-18Robinson.a"; sourceTree = BUILT_PRODUCTS_DIR; };
E13E027F21CC786500498865 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
E13E028121CC786C00498865 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
E13E028321CC787400498865 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
E13E028521CC788200498865 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
E13E028721CC788E00498865 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
E13E028921CC789600498865 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; };
E176612321C9E44B003B78CE /* XDImage[图片] */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "XDImage[图片]"; sourceTree = "<group>"; };
E176612921C9EAA2003B78CE /* EpathmapSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = EpathmapSDK.framework; sourceTree = "<group>"; };
E1984B0921C940CA00F3615D /* 18Robinson.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = 18Robinson.app; sourceTree = BUILT_PRODUCTS_DIR; };
......@@ -80,6 +92,12 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E13E028A21CC789600498865 /* libc++.tbd in Frameworks */,
E13E028821CC788E00498865 /* libsqlite3.tbd in Frameworks */,
E13E028621CC788200498865 /* libz.tbd in Frameworks */,
E13E028421CC787400498865 /* CFNetwork.framework in Frameworks */,
E13E028221CC786C00498865 /* SystemConfiguration.framework in Frameworks */,
E13E028021CC786500498865 /* CoreTelephony.framework in Frameworks */,
3403E6D170A77E0540ED6E13 /* libPods-18Robinson.a in Frameworks */,
E176612A21C9EAA3003B78CE /* EpathmapSDK.framework in Frameworks */,
);
......@@ -114,6 +132,12 @@
AE9036BA7CCD5829E804BCCF /* Frameworks */ = {
isa = PBXGroup;
children = (
E13E028921CC789600498865 /* libc++.tbd */,
E13E028721CC788E00498865 /* libsqlite3.tbd */,
E13E028521CC788200498865 /* libz.tbd */,
E13E028321CC787400498865 /* CFNetwork.framework */,
E13E028121CC786C00498865 /* SystemConfiguration.framework */,
E13E027F21CC786500498865 /* CoreTelephony.framework */,
CF2C26CD7CC0FB84716B0F35 /* libPods-18Robinson.a */,
);
name = Frameworks;
......
......@@ -7,9 +7,8 @@
//
#import "AppDelegate.h"
#import "ViewController.h"
#import <EpathmapSDK/EpathmapSDK.h>
#import <SDWebImage/UIImageView+WebCache.h>
#import <SVProgressHUD/SVProgressHUD.h>
......@@ -26,20 +25,17 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
[EpathmapServices setAppKey:@"I3FBmzhjPe"];
[EpathmapServices setAppKey:@"5CXPSOCTCJ"];
[[EpathmapServices sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
//监听ibeacon
#if EpathBeaconRegionEnable
[[EpathIbeaconManager sharedInstance] startMonitoringForRegion];
#endif
EpathMapViewController *vc = [[EpathMapViewController alloc] initWithMapId:@"5CXPSOCTCJ"];
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
self.window.backgroundColor = [UIColor whiteColor];
self.window.rootViewController = vc;
ViewController *vc = [[ViewController alloc]init];
self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:vc];
[self.window makeKeyAndVisible];
......
......@@ -41,5 +41,13 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>App需要您的同意,才能访问蓝牙</string>
<key>NSContactsUsageDescription</key>
<string>App需要您的同意,才能访问通讯录</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>App需要您的同意,才能在使用期间访问位置 </string>
<key>NSMicrophoneUsageDescription</key>
<string>App需要您的同意,才能访问麦克风</string>
</dict>
</plist>
......@@ -7,6 +7,7 @@
//
#import "ViewController.h"
#import <EpathmapSDK/EpathmapSDK.h>
@interface ViewController ()
......@@ -19,9 +20,20 @@
// Do any additional setup after loading the view, typically from a nib.
UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
btn.frame = CGRectMake(50, 100, 150, 40);
[btn setTitle:@"click" forState:UIControlStateNormal];
btn.backgroundColor = [UIColor yellowColor];
[btn addTarget:self action:@selector(btnClick) forControlEvents:UIControlEventTouchDown];
[self.view addSubview:btn];
}
-(void)btnClick{
EpathMapViewController *vc = [[EpathMapViewController alloc] initWithMapId:@"kF8icl6NYW"];
[self.navigationController pushViewController:vc animated:YES];
}
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment