TTCircularLoadingView
2018-03-05 本文已影响6人
7d3fadbb4407
1.TTCircularLoadingView
A circular loading view, can set up success or fail state.
一个圆形的加载view,可以设置成功或失败的状态。
Wide and high optional Settings, circular loading view will automatically match.
宽高随意设置,圆形加载view会自动适配。
2.GIF视图
![](https://img.haomeiwen.com/i6193487/c43187165312d32e.gif)
3.使用
(1)代码使用:
CGRect yourRect;
TTLoadingView *loadingView = [[TTLoadingView alloc] initWithFrame:yourRect];
[self.view addSubview:loadingView];
[loadingView startLoading];
(2)Xib使用:
拉个系统View,将该View的class配置成TTLoadingView即可。