Skip to content

Commit

Permalink
Update platform-channels.md
Browse files Browse the repository at this point in the history
修正错别字“天骄”,修正文件夹表述错误
  • Loading branch information
htynkn authored Sep 23, 2018
1 parent cee0b51 commit c07bee6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ import android.os.Build.VERSION_CODES

1. 选择 'File > Open...'

1. 定位到您 Flutter app目录, 然后选择里面的 `android`文件夹,点击 OK
1. 定位到您 Flutter app目录, 然后选择里面的 `ios`文件夹,点击 OK

1. 确保Xcode项目的构建没有错误。

Expand Down Expand Up @@ -437,7 +437,7 @@ import android.os.Build.VERSION_CODES
1. 选择 'File > Open...'
1. 定位到您 Flutter app目录, 然后选择里面的 `android`文件夹,点击 OK
1. 定位到您 Flutter app目录, 然后选择里面的 `ios`文件夹,点击 OK
1. 确保Xcode项目的构建没有错误。
Expand Down Expand Up @@ -468,7 +468,7 @@ import android.os.Build.VERSION_CODES

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

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

```swift
private func receiveBatteryLevel(result: FlutterResult) {
Expand Down

0 comments on commit c07bee6

Please sign in to comment.