The source code is a multi-effect progress indicator layer effect Source code case, source Kvnprogress,kvnprogress provides a variety of effects of the progress indicator layer, has a translucent effect, also supports full-screen display. The indicator layer is also highly customizable and can be customized to your needs.
:
How to use:
Support Cocoapods
Pod ' kvnprogress '
Import Header file:
#import "KVNProgress.h"
Show:
-[kvnprogress showwithparameters:@{kvnprogressviewparameterstatus: @ "Loading ...",
Kvnprogressviewparameterbackgroundtype: @ (kvnprogressbackgroundtypesolid),
Kvnprogressviewparameterfullscreen: @ ([self isfullscreen]}];
-[kvnprogress showerrorwithparameters:@{kvnprogressviewparameterstatus: @ "Error",
Kvnprogressviewparameterfullscreen: @ (YES)}];
......
Please refer to the demo for a variety of uses.
Close:
[Kvnprogress dismiss];
Detailed Description: http://ios.662p.com/thread-2302-1-1.html
Multi-effect Progress indicator layer effect iOS source project