新增景区权限模块,集成 AMap CocoaPods 并支持模拟器

将景区选择与权限申请流程接入首页路由,集成高德 SDK 用于真机构建,并通过 Podfile post_install 钩子保证 arm64 模拟器可编译。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-23 10:15:26 +08:00
parent 5d4613f317
commit b61bf0d070
416 changed files with 18641 additions and 38 deletions

View File

@ -0,0 +1,32 @@
//
// AMapNearbyUploadInfo.h
// AMapSearchKit
//
// Created by xiaoming han on 15/9/6.
// Copyright (c) 2015年 Amap. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
///上传经纬度类型
typedef NS_ENUM(NSInteger, AMapSearchCoordinateType)
{
AMapSearchCoordinateTypeGPS = 1, ///< 标准GPS坐标
AMapSearchCoordinateTypeAMap = 2, ///< 高德坐标
};
///附近搜索上传信息
@interface AMapNearbyUploadInfo : NSObject<NSCopying>
///用户唯一标识,不能为空,否则上传会失败. 长度不超过32字符只能包含英文、数字、下划线、短横杠
@property (nonatomic, copy) NSString *userID;
///坐标类型,默认是 AMapSearchCoordinateTypeAMap
@property (nonatomic, assign) AMapSearchCoordinateType coordinateType;
///用户位置经纬度。
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
@end