新增景区权限模块,集成 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,35 @@
//
// MACustomCalloutView.h
// MAMapKit
//
// Created by shaobin on 17/1/6.
// Copyright © 2017年 Amap. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MAConfig.h"
///自定义annotationView的弹出框. 注意:不会触发-(void)mapView: didAnnotationViewCalloutTapped: since 5.0.0
///Customize the popup of annotationView. Note: It will not trigger -(void)mapView: didAnnotationViewCalloutTapped: since 5.0.0
@interface MACustomCalloutView : UIView
///init时传入的customView since 5.0.0
///CustomView passed during init since 5.0.0
@property (nonatomic, strong, readonly) UIView *customView;
///用户自定义数据,内部不做处理 since 5.0.0
///User-defined data, no internal processing since 5.0.0
@property (nonatomic, strong) id userData;
/**
* @brief 初始化并返回一个MACustomCalloutView since 5.0.0
* Initialize and return a MACustomCalloutView since 5.0.0
* @param customView 自定义View不能为nil
* Custom View, cannot be nil
* @return 初始化成功则返回MACustomCalloutView,否则返回nil
* Returns MACustomCalloutView if initialization is successful, otherwise returns nil
*/
- (id)initWithCustomView:(UIView *)customView;
@end