Updated Readme.

This commit is contained in:
Ivan Vorobei committed 2021-05-24 11:48:32 +03:00
1 parent 6cb66c98b4
commit 22ff7aa111
2 files changed
+2 -2

No files matched your search

+2 -2
View File
@@ -72,6 +72,8 @@ let image = UIImage.init(systemName: "sun.min.fill")!.withTintColor(.systemYello
SPIndicator.present(title: "Custom Image", message: "With tint color", preset: .custom(image)))
```
<img align="left" src="https://github.com/ivanvorobei/SPIndicator/blob/main/Assets/Readme/bookmarked-preview.svg" width="270"/>
For showing a simple text message:
```swift
@@ -106,8 +108,6 @@ By default allow drag alert for hide. While alert is dragging, dismiss not work.
indicatorView.dismissByDrag = false
```
<img align="left" src="https://github.com/ivanvorobei/SPIndicator/blob/main/Assets/Readme/bookmarked-preview.svg" width="270"/>
### Haptic
For manage haptic, you shoud pass it in present method: