TapCommon-Unity/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHUD.h

35 lines
1.1 KiB
Objective-C
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

//
// TDSHUD.h
// AFNetworking
//
// Created by HarryHuang on 2018/8/29.
//
#import <UIKit/UIKit.h>
@interface TDSHUD : NSObject
//在window上显示等待
+ (void)showWait;
+ (void)showWaitWithString:(NSString *)string;
+ (void)dismiss;
//在指定的view上显示等待
+ (void)showWaitOnView:(UIView *)view;
+ (void)showWaitWithString:(NSString *)string onView:(UIView *)view;
+ (void)dismissOnView:(UIView *)view;
//toast显示提示语
+ (void)showString:(NSString *)string;
+ (void)showString:(NSString *)string timeInterval:(NSTimeInterval)timeInterval;
+ (void)showString:(NSString *)string timeInterval:(NSTimeInterval)timeInterval offsetY:(CGFloat)offset;
//toast显示提示语和自定义图片
+ (void)showImageName:(NSString *)imageName string:(NSString *)string;
+ (void)showImage:(UIImage *)image string:(NSString *)string;
+ (void)showImage:(UIImage *)image string:(NSString *)string timeInterval:(NSTimeInterval)timeInterval;
+ (void)showImage:(UIImage *)image string:(NSString *)string timeInterval:(NSTimeInterval)timeInterval offsetY:(CGFloat)offset;
@end