/XSToast

Primary LanguageObjective-CMIT LicenseMIT

MEDToast

CI Status Version License Platform

简介

本库可以用于iOS扩展程序

请看效果

video.mp4

使用

1.设置全局rootView

#import <XSToast/XSToastTool.h>

[XSToastTool share].rootView = [UIApplication sharedApplication].keyWindow;//可以是其他的view

2.使用

#import <XSToast/XSToastTool.h>

[[XSToastTool share] showToast:@"你好啊" second:1];

安装

MEDToast is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'XSToast'

版本更新记录

v0.1.3

XSToastTool增加方法,可以配置toast的显示位置

- (void)setGlobalPosition:(XSToastPosition)position;

Author

xiangshun, 113648883@qq.cn

License

MEDToast is available under the MIT license. See the LICENSE file for more info.