MEDToast
简介
本库可以用于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];
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation
MEDToast is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'XSToast'
Author
xiangshun, 113648883@qq.cn
License
MEDToast is available under the MIT license. See the LICENSE file for more info.