A Loading Indicator Inspired by Pelly Benassi
复制 LKAFTFBLoadingIndicatorView.h / LKAFTFBLoadingIndicatorView.m 到你的工程
导入头文件
#import "LKAFTFBLoadingIndicatorView.h"
手动创建与添加 LKAFTFBLoadingIndicatorView
类或者通过 Storyboard 设置 UIView 的 custom class 为 LKAFTFBLoadingIndicatorView
使用 startAnimating
方法开启
或关闭
Loading 动画,开始前/关闭后均隐藏该指示器
[self.loadingIndicatorView startAnimating];
调用 stopAnimating
方法关闭
Loading 动画.
[self.loadingIndicatorView stopAnimating];
Inspired by Pelly Benassi.
MIT license.