Skip to content

Commit 6e8fa82

Browse files
author
RadAzzouz
committed
Update for PSPDFKit 10.1 for iOS and Xcode 12.2
1 parent d79cb3a commit 6e8fa82

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ To make sure this is fast, please use a work email and have someone from your co
3737

3838
#### Requirements
3939

40-
- Xcode 12
41-
- PSPDFKit 10.0.1 for iOS or later
42-
- react-native >= 0.63.2
43-
- CocoaPods >= 1.10.0.rc.1
40+
- The latest [Xcode](https://developer.apple.com/xcode/).
41+
- PSPDFKit 10.1.0 for iOS or later
42+
- react-native >= 0.63.3
43+
- CocoaPods >= 1.10.0
4444

4545
#### Getting Started
4646

@@ -89,11 +89,9 @@ end
8989
![Deployment Target](screenshots/deployment-target.png)
9090
10. 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-
11. If your application is targeting iOS versions **prior to iOS 12.2** and your application **does not already contain any Swift code**, then you need to make sure Xcode bundles Swift standard libraries with your application distribution. To to so, open your target Build Settings and enable `Always Embed Swift Standard Libraries`:
93-
![Always Embed Swift Standard Libraries](screenshots/always-embed-swift-standard-libraries.png)
94-
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:
92+
10. 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:
9593
![Adding PDF](screenshots/adding-pdf.png)
96-
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.)
94+
12. 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.)
9795

9896
```javascript
9997
import React, { Component } from "react";
Binary file not shown.

0 commit comments

Comments
 (0)