Skip to content

Commit 9574e03

Browse files
author
Rad Azzouz
committed
💄
1 parent ff99a96 commit 9574e03

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,15 @@ target 'YourApp' do
8383
end
8484
```
8585

86-
8. Go back to the Terminal, `cd ios` then run `pod install`
87-
9. Open `ios/YourApp.xcworkspace` in Xcode: `open ios/YourApp.xcworkspace`
86+
8. `cd ios` then run `pod install`.
87+
9. Open `YourApp.xcworkspace` in Xcode: `open YourApp.xcworkspace`.
8888
10. Make sure the deployment target is set to 11.0 or higher:
8989
![Deployment Target](screenshots/deployment-target.png)
9090
11. Change "View controller-based status bar appearance" to `YES` in `Info.plist`:
9191
![View Controller-Based Status Bar Appearance](screenshots/view-controller-based-status-bar-appearance.png)
92-
9392
12. Add a PDF by drag and dropping it into your Xcode project (Select "Create groups" and add to target "YourApp"). This will add the document to the "Copy Bundle Resources" build phase:
9493
![Adding PDF](screenshots/adding-pdf.png)
95-
13. Replace the default component from `index.ios.js` with a simple touch area to present the bundled PDF:
94+
13. Replace the default component from `App.js` with a simple touch area to present the bundled PDF. (Note that you can also use a [Native UI Component](#native-ui-component) to show a PDF.)
9695

9796
```javascript
9897
import React, { Component } from "react";
@@ -144,7 +143,7 @@ const styles = StyleSheet.create({
144143
AppRegistry.registerComponent("YourApp", () => YourApp);
145144
```
146145

147-
Your app is now ready to launch. Run the app in Xcode or type `react-native run-ios` in the terminal.
146+
Your app is now ready to launch. Run the app in Xcode or go back to the Terminal, then run `cd ..`, and `react-native run-ios`.
148147

149148
### Usage
150149

0 commit comments

Comments
 (0)