Skip to content

Commit

Permalink
Merge pull request #4 from htynkn/patch-1
Browse files Browse the repository at this point in the history
错别字修改
  • Loading branch information
wendux committed Oct 9, 2018
2 parents c679cc8 + ba63231 commit b5298fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform-channels.md
Original file line number Diff line number Diff line change
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 b5298fd

Please sign in to comment.