From 61cea9301751c249888dafa35ea5ad5f41ba73c4 Mon Sep 17 00:00:00 2001 From: ValoraChen <932942491@qq.com> Date: Wed, 31 Aug 2022 16:28:13 +0800 Subject: [PATCH] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31db01f47..863a4af10 100644 --- a/README.md +++ b/README.md @@ -446,7 +446,7 @@ Or if your app is iOS13+, or your app also supports Scenes, add the following co // custom handler - (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent { - NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]]; + NSURL *url = [NSURL URLWithString:[[replyEvent paramDescriptorForKeyword:keyDirectObject] stringValue]]; DBOAuthCompletion oauthCompletion = ^(DBOAuthResult *authResult) { if (authResult != nil) { if ([authResult isSuccess]) {