Fixes indentation readme file

This commit is contained in:
Kris Pypen 2019-08-01 13:16:57 +02:00 committed by GitHub
parent 7225118d32
commit 41ae827c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -135,13 +135,15 @@ IOS will export unity project to `ios/UnityExport`.
2. Select the Unity-iPhone/Data folder and change the Target Membership for Data folder to UnityFramework
<img src="change_target_membership_data_folder.png" width="400" />
3. Add this to your Runner/Runner/Runner-Bridging-Header.h
```h
#import "UnityUtils.h"
```
```c
#import "UnityUtils.h"
```
4. Add to AppDelegate.swift before the GeneratePluginRegistrant call:
```swift
InitArgs(CommandLine.argc, CommandLine.unsafeArgv)
```
```swift
InitArgs(CommandLine.argc, CommandLine.unsafeArgv)
```
5. Opt-in to the embedded views preview by adding a boolean property to the app's `Info.plist` file with the key `io.flutter.embedded_views_preview` and the value `YES`.
<br />