TencentMapSDK_iOS_3D_v5.7.0
QMapView(Snapshot)分类 参考

截图相关API 更多...

#import <QMapView.h>

构造函数

((deprecated("use - (void) - takeSnapshotInRect:completion:
 截图 更多...
 
(void) - takeSnapshotInRect:completion:
 异步截图 (默认超时时间为2.5秒) 更多...
 
(void) - takeSnapshotInRect:timeout:completion:
 异步截图 更多...
 
(void) - takeSnapshotInRect:timeout:afterScreenUpdates:completion:
 异步截图 更多...
 

详细描述

截图相关API

函数文档

◆ takeSnapshotInRect:completion: [1/2]

- (void) takeSnapshotInRect: (CGRect)  rect
completion: (void(^)(UIImage *resultImage))  completion 

异步截图 (默认超时时间为2.5秒)

参数
rect范围
completion异步block结果

扩展类 QMapView.

◆ takeSnapshotInRect:completion: [2/2]

- ((deprecated("use - (void) takeSnapshotInRect: (CGRect)  rect
completion: (void(^)(UIImage *resultImage))  instead 

截图

返回
截图image

扩展类 QMapView.

◆ takeSnapshotInRect:timeout:afterScreenUpdates:completion:

- (void) takeSnapshotInRect: (CGRect)  rect
timeout: (CFTimeInterval)  timeout
afterScreenUpdates: (BOOL)  afterUpdates
completion: (void(^)(UIImage *resultImage))  completion 

异步截图

参数
rect范围
timeout超时时间.
afterUpdates是否等待当前内容更新完.
completion异步block结果

扩展类 QMapView.

◆ takeSnapshotInRect:timeout:completion:

- (void) takeSnapshotInRect: (CGRect)  rect
timeout: (CFTimeInterval)  timeout
completion: (void(^)(UIImage *resultImage))  completion 

异步截图

参数
rect范围
timeout超时时间.
completion异步block结果

扩展类 QMapView.


该分类的文档由以下文件生成: