|
2 | 2 | ## AEAlertView does not depend on any third-party library
|
3 | 3 | [中文文档](https://github.com/Allen0828/AEAlertView/blob/master/README_CN.md)
|
4 | 4 |
|
5 |
| -| Swift | range | use | |
6 |
| -| ------------- |:-------------:| -----| |
7 |
| -| version | 4.0 and below | Pod `'AEAlertView','1.0'` | |
8 |
| -| version | 4.0-5.0 | Pod `'AEAlertView','1.7'` | |
9 |
| -| version | 5.0+ | Pod `'AEAlertView'` | |
| 5 | +## Requirements |
| 6 | + |
| 7 | +- After xcode 15.0+, only iOS12.0 can be supported, so the latest version 2.3.7 currently supports iOS12.0 as the minimum. If your project is lower than iOS12.0, please use pod 2.3.6 |
| 8 | + |
| 9 | +> |
| 10 | +> | UIKit | SwiftUI | Xcode | AEAlertView | |
| 11 | +> |---|---|---|---| |
| 12 | +> | iOS 8+ | iOS 13+ | 12.0 | ~> 1.0 | |
| 13 | +> | iOS 11+ | iOS 13+ | 13.0 | ~> 1.7 | |
| 14 | +> | iOS 12+ | iOS 14+ | 13.0 | ~> 2.0 | |
| 15 | +> | iOS 12+ | iOS 12+ | 15.0 | ~> 2.3.8 | |
| 16 | +
|
| 17 | +#### Swift Package Manager |
| 18 | + |
| 19 | +- File > Swift Packages > Add Package Dependency |
| 20 | +- Add `https://github.com/Allen0828/AEAlertView.git` |
| 21 | +- Select "Up to Next Major" with "2.3.8" |
| 22 | + |
| 23 | +#### CocoaPods |
| 24 | +```ruby |
| 25 | +source 'https://github.com/CocoaPods/Specs.git' |
| 26 | +platform :ios, '12.0' |
| 27 | +use_frameworks! |
| 28 | + |
| 29 | +target 'MyApp' do |
| 30 | + pod 'AEAlertView', '~> 2.3.7' |
| 31 | +end |
| 32 | +``` |
10 | 33 |
|
11 | 34 | <font>
|
12 | 35 | <p>Please read the instructions before using it.</p>
|
@@ -156,6 +179,9 @@ private func alertType3() {
|
156 | 179 | ```
|
157 | 180 |
|
158 | 181 | # Version Updated Record
|
| 182 | +2.3.8-<br /> |
| 183 | +1: support Swift Package Manager |
| 184 | +2: change tag vx.x to x.x |
159 | 185 | v2.3.6-<br />
|
160 | 186 | 1: If alertView is set to custom style, action will add stroke and rounded corners by default. Setting action.adapterCustom can be canceled<br />
|
161 | 187 | 2: The added content can be set as unselectable. The default is selectable, messageIsSelectable<br />
|
|
0 commit comments