Skip to content

Commit b5298fd

Browse files
authored
Merge pull request #4 from htynkn/patch-1
错别字修改
2 parents c679cc8 + ba63231 commit b5298fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform-channels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ import android.os.Build.VERSION_CODES
437437
438438
1. 选择 'File > Open...'
439439
440-
1. 定位到您 Flutter app目录, 然后选择里面的 `android`文件夹,点击 OK
440+
1. 定位到您 Flutter app目录, 然后选择里面的 `ios`文件夹,点击 OK
441441
442442
1. 确保Xcode项目的构建没有错误。
443443
@@ -468,7 +468,7 @@ import android.os.Build.VERSION_CODES
468468

469469
接下来,我们添加Swift代码,使用iOS电池API来获取电池电量。此代码与您在本机iOS应用程序中编写的代码完全相同。
470470

471-
将以下新方法天骄到`AppDelegate.swift`底部
471+
将以下新方法添加到`AppDelegate.swift`底部
472472

473473
```swift
474474
private func receiveBatteryLevel(result: FlutterResult) {

0 commit comments

Comments
 (0)