新增景区权限模块,集成 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,29 @@
//
// MAOfflineMapViewController.h
// MAMapKit
//
// Created by hanxiaoming on 2017/12/14.
// Copyright © 2017年 Amap. All rights reserved.
//
#import "MAConfig.h"
#if MA_INCLUDE_OFFLINE
#import <UIKit/UIKit.h>
#import "MAOfflineMap.h"
///离线地图ViewControllersince 5.7.0
///Offline Map ViewControllersince 5.7.0
@interface MAOfflineMapViewController : UIViewController
/// MAOfflineMapViewController单例请使用单例以保证离线地图状态正确同步。
/// MAOfflineMapViewController singleton, please use the singleton to ensure correct synchronization of offline map status.
+ (instancetype)sharedInstance;
///MAOfflineMap实例
///MAOfflineMap instance
@property (nonatomic, readonly) MAOfflineMap *offlineMap;
@end
#endif