Skip to content

Commit 6b1298f

Browse files
Update README
1 parent a485e62 commit 6b1298f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# WSPopup
22

33
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg)](https://github.com/Carthage/Carthage)
4+
[![SwiftPM Compatible](https://img.shields.io/badge/SwiftPM-Compatible-brightgreen.svg)](https://swift.org/package-manager)
45
[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat)](https://developer.apple.com/swift/)
56
[![Platforms iOS](https://img.shields.io/badge/Platforms-iOS-lightgray.svg?style=flat)](http://www.apple.com/ios/)
67
[![License MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat)](https://opensource.org/licenses/MIT)
@@ -18,7 +19,7 @@ let exampleSignInView = ExampleSignInView()
1819
exampleSignInView.userTextField.text = "JohnDoe123"
1920

2021
let popupViewController = WSPopupViewController(popupView: exampleSignInView)
21-
popupViewController.modalPresentationStyle = .overCurrentContext
22+
popupViewController.modalPresentationStyle = . overFullScreen
2223
popupViewController.modalTransitionStyle = .crossDissolve
2324
show(popupViewController, sender: self)
2425
```
@@ -27,7 +28,7 @@ You can also just give the `UIView` Type:
2728

2829
``` swift
2930
let popupViewController = WSPopupViewController(popupViewType: ExampleSignInView.self)
30-
popupViewController.modalPresentationStyle = .overCurrentContext
31+
popupViewController.modalPresentationStyle = .overFullScreen
3132
popupViewController.modalTransitionStyle = .crossDissolve
3233
show(popupViewController, sender: self)
3334
```
@@ -61,7 +62,7 @@ Download all the source files and drop them into your project.
6162
## Requirements
6263

6364
* iOS 11.0+
64-
* Xcode 10.2 (Swift 5.0)
65+
* Xcode 10+ (Swift 5.0)
6566

6667
# Contributing
6768

0 commit comments

Comments
 (0)