Skip to content

Commit

Permalink
Merge pull request #136 from maxxfrazer/master
Browse files Browse the repository at this point in the history
Turn on/off blur background
  • Loading branch information
andreamazz authored Jun 17, 2019
2 parents 269f372 + c27983f commit 3e34d7b
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 95 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Version](https://img.shields.io/cocoapods/v/SwiftSpinner.svg?style=flat)](http://cocoadocs.org/docsets/SwiftSpinner)
[![License](https://img.shields.io/cocoapods/l/SwiftSpinner.svg?style=flat)](http://cocoadocs.org/docsets/SwiftSpinner)
[![Platform](https://img.shields.io/cocoapods/p/SwiftSpinner.svg?style=flat)](http://cocoadocs.org/docsets/SwiftSpinner)
![Swift 4](https://img.shields.io/badge/swift-4-orange.svg)
![Swift 5.0](https://img.shields.io/badge/swift-5.0-orange.svg)

SwiftSpinner is an extra beautiful activity indicator with plain and bold style fitting iOS 8 design very well. It uses dynamic blur and translucency to overlay the current screen contents and display an activity indicator with text (or the so called “spinner”).

Expand Down Expand Up @@ -114,6 +114,11 @@ Or you can use `SwiftSpinner` as a progress bar by directly setting the current
SwiftSpinner.show(progress: 0.2, title: "Downloading Data...") // 20% trough the process
```

If you want to see the content behind the spinner, set the showBlurBackground to false:
```swift
SwiftSpinner.showBlurBackground = false
```

## Requirements

UIKit must be imported. If you are using SwiftSpinner in an App Extension, you must add `EXTENSION` to your `Other Swift Flags` Build Settings.
Expand Down
Loading

0 comments on commit 3e34d7b

Please sign in to comment.