mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-07-13 00:02:56 +02:00
Update README.md
This commit is contained in:
@@ -324,7 +324,7 @@ The `ArmchairShouldPromptClosure` passes you the keys and values Armchair used t
|
|||||||
Armchair.shouldPromptClosure(shouldPromptClosure: ArmchairShouldPromptClosure?)
|
Armchair.shouldPromptClosure(shouldPromptClosure: ArmchairShouldPromptClosure?)
|
||||||
|
|
||||||
|
|
||||||
In addition to the global `shouldPromptClosure`, the Armchair functions that trigger the presentation of the prompt (`showPrompt(ifNecessary: Bool)` and `userDidSignificantEvent()`) have their own closure based variant that allows you to customize whether or not this is an appropriate time to display the prompt.
|
In addition to the global `shouldPromptClosure`, the Armchair functions that trigger the presentation of the prompt (`showPromptIfNecessary` and `userDidSignificantEvent()`) have their own closure based variant that allows you to customize whether or not this is an appropriate time to display the prompt.
|
||||||
|
|
||||||
Armchair.showPrompt(shouldPrompt: ArmchairShouldPromptClosure)
|
Armchair.showPrompt(shouldPrompt: ArmchairShouldPromptClosure)
|
||||||
Armchair.userDidSignificantEvent(shouldPrompt: ArmchairShouldPromptClosure)
|
Armchair.userDidSignificantEvent(shouldPrompt: ArmchairShouldPromptClosure)
|
||||||
|
|||||||
Reference in New Issue
Block a user