Skip to content

Commit f8a7362

Browse files
committed
Update README.md
1 parent f8b1345 commit f8a7362

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

README.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ You need to add some keys to the `Info.plist` file with descriptions, per Apple'
153153
let key = Permission.bluetooth.usageDescriptionKey
154154
```
155155

156-
Do not use the description as the name of the key.
156+
> **Warning**
157+
> Do not use the description as the name of the key.
157158
158159
### Localisation
159160

@@ -163,20 +164,6 @@ If you use xliff localization export, keys will be create automatically. If you
163164
"NSCameraUsageDescription" = "Here description of usage camera";
164165
```
165166

166-
## Apple Review
167-
168-
Apple changed its review guidelines in June 2021. When requesting permissions, apps should require users to always request and make a decision whether to allow or decline the permission. For this reason, the close button in `PermissionsKit` is hidden by default. If you want to force show the close button, run the following code:
169-
170-
```swift
171-
// Show & hide close button
172-
controller.showCloseButton = true
173-
174-
// Enable or Disable drag intercation
175-
controller.allowSwipeDismiss = true
176-
```
177-
178-
Also changed the title for the button. Instead of `allow` now use `continue`. The Apple Review Team asked for this. For details, check out [this issue](https://github.com/sparrowcode/PermissionsKit/issues/229).
179-
180167
## Apps Using
181168

182169
<p float="left">

0 commit comments

Comments
 (0)