Files
ln-ios/ln_jq_app/ios/AMapNavIOSSDK/AMapNavIOSSDK/Classes/Tools/AMapNavCommonUtil.h
2026-04-13 16:13:23 +08:00

44 lines
850 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// AMapNavCommonUtil.h
// Pods
//
// Created by admin on 2026/2/11.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "UIColor+ANavMap.h"
#import "UIFont+HP.h"
NS_ASSUME_NONNULL_BEGIN
@interface AMapNavCommonUtil : NSObject
/// 显示加载转圈nil 消息时不显示文字)
+ (void)showLoadingWithMsg:(nullable NSString *)msg;
/// 关闭所有 MBProgressHUD
+ (void)dismiss;
/// 显示提示,自动 2.0s 后消失
+ (void)showMsg:(NSString *)msg;
/// 获取图片2x
+ (UIImage *)imageWithName:(NSString *)name;
/// 获取图片3x
+ (UIImage *)imageWithName3x:(NSString *)name;
/// 判断字符串是否为空
BOOL stringIsEmpty(NSString *str);
/// 判断字符串是否非空
BOOL stringIsNotEmpty(NSString *str);
+(NSString *)stringValueFromStr:(NSString *)str;
@end
NS_ASSUME_NONNULL_END